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 Erik, reference 5.1.0 (109a13), with Swift 6.1 for Wasm on 28 May 2025 05:28:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/phimage/Erik.git
Reference: 5.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/phimage/Erik
 * tag               5.1.0      -> FETCH_HEAD
HEAD is now at 109a130 Update package swift
Cloned https://github.com/phimage/Erik.git
Revision (git rev-parse @):
109a130e9cdb00789a43a7a625293eeb12d22989
SUCCESS checkout https://github.com/phimage/Erik.git at 5.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/phimage/Erik.git
https://github.com/phimage/Erik.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kanna",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tid-kijyun/Kanna.git"
    },
    {
      "identity" : "brightfutures",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Thomvis/BrightFutures.git"
    },
    {
      "identity" : "filekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nvzqz/FileKit.git"
    }
  ],
  "manifest_display_name" : "Erik",
  "name" : "Erik",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Erik",
      "targets" : [
        "Erik"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ErikTests",
      "module_type" : "SwiftTarget",
      "name" : "ErikTests",
      "path" : "ErikTests",
      "product_dependencies" : [
        "Kanna",
        "BrightFutures",
        "FileKit"
      ],
      "sources" : [
        "ErikTests.swift",
        "KannaTests.swift"
      ],
      "target_dependencies" : [
        "Erik"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Erik",
      "module_type" : "SwiftTarget",
      "name" : "Erik",
      "path" : "Sources",
      "product_dependencies" : [
        "Kanna",
        "BrightFutures"
      ],
      "product_memberships" : [
        "Erik"
      ],
      "sources" : [
        "Document.swift",
        "Erik.swift",
        "Future/Future.swift",
        "LayoutEngine.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Fetching https://github.com/Thomvis/BrightFutures.git
Fetching https://github.com/tid-kijyun/Kanna.git
Fetching https://github.com/nvzqz/FileKit.git
[1/3123] Fetching filekit
[33/7190] Fetching filekit, brightfutures
[243/9547] Fetching filekit, brightfutures, kanna
Fetched https://github.com/tid-kijyun/Kanna.git from cache (1.71s)
Fetched https://github.com/nvzqz/FileKit.git from cache (1.72s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (1.76s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (2.63s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.66s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (1.06s)
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.3.0
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.1.0
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.2.0
Building for debugging...
[0/5] Write sources
[1/5] Copying PrivacyInfo.xcprivacy
[1/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/29] Emitting module Kanna
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[7/29] Compiling BrightFutures Async.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:41:29: error: cannot find 'DispatchQueue' in scope
 39 |     /// to prevent that a callback is added to a completed future and never
 40 |     /// executed or perhaps excecuted twice.
 41 |     fileprivate let queue = DispatchQueue(label: "Internal Async Queue")
    |                             `- error: cannot find 'DispatchQueue' in scope
 42 |
 43 |     /// Upon completion of the future, all callbacks are asynchronously scheduled to their
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:47:50: error: cannot find 'DispatchSemaphore' in scope
 45 |     /// DefaultThreadingModel). Inside the context, this semaphore will be used
 46 |     /// to make sure that all callbacks are executed serially.
 47 |     fileprivate let callbackExecutionSemaphore = DispatchSemaphore(value: 1);
    |                                                  `- error: cannot find 'DispatchSemaphore' in scope
 48 |     fileprivate var callbacks = [CompletionCallback]()
 49 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:9: error: cannot find 'DispatchQueue' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |         `- error: cannot find 'DispatchQueue' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:53: error: cannot find 'DispatchTime' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |                                                     `- error: cannot find 'DispatchTime' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[8/29] Compiling BrightFutures AsyncType+Debug.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:41:29: error: cannot find 'DispatchQueue' in scope
 39 |     /// to prevent that a callback is added to a completed future and never
 40 |     /// executed or perhaps excecuted twice.
 41 |     fileprivate let queue = DispatchQueue(label: "Internal Async Queue")
    |                             `- error: cannot find 'DispatchQueue' in scope
 42 |
 43 |     /// Upon completion of the future, all callbacks are asynchronously scheduled to their
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:47:50: error: cannot find 'DispatchSemaphore' in scope
 45 |     /// DefaultThreadingModel). Inside the context, this semaphore will be used
 46 |     /// to make sure that all callbacks are executed serially.
 47 |     fileprivate let callbackExecutionSemaphore = DispatchSemaphore(value: 1);
    |                                                  `- error: cannot find 'DispatchSemaphore' in scope
 48 |     fileprivate var callbacks = [CompletionCallback]()
 49 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:9: error: cannot find 'DispatchQueue' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |         `- error: cannot find 'DispatchQueue' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:53: error: cannot find 'DispatchTime' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |                                                     `- error: cannot find 'DispatchTime' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[9/29] Compiling BrightFutures AsyncType+ResultType.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:41:29: error: cannot find 'DispatchQueue' in scope
 39 |     /// to prevent that a callback is added to a completed future and never
 40 |     /// executed or perhaps excecuted twice.
 41 |     fileprivate let queue = DispatchQueue(label: "Internal Async Queue")
    |                             `- error: cannot find 'DispatchQueue' in scope
 42 |
 43 |     /// Upon completion of the future, all callbacks are asynchronously scheduled to their
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:47:50: error: cannot find 'DispatchSemaphore' in scope
 45 |     /// DefaultThreadingModel). Inside the context, this semaphore will be used
 46 |     /// to make sure that all callbacks are executed serially.
 47 |     fileprivate let callbackExecutionSemaphore = DispatchSemaphore(value: 1);
    |                                                  `- error: cannot find 'DispatchSemaphore' in scope
 48 |     fileprivate var callbacks = [CompletionCallback]()
 49 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:9: error: cannot find 'DispatchQueue' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |         `- error: cannot find 'DispatchQueue' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:53: error: cannot find 'DispatchTime' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |                                                     `- error: cannot find 'DispatchTime' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[10/29] Compiling BrightFutures Result+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[11/29] Compiling BrightFutures ResultProtocol.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[12/31] Compiling Kanna libxmlHTMLDocument.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[13/31] Compiling Kanna Kanna.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[14/31] Compiling Kanna CSS.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[15/31] Compiling Kanna Deprecated.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[16/31] Compiling Kanna libxmlParserOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[17/31] Compiling Kanna resource_bundle_accessor.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[18/31] Compiling Kanna libxmlHTMLNode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/31] Emitting module BrightFutures
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:41:29: error: cannot find 'DispatchQueue' in scope
 39 |     /// to prevent that a callback is added to a completed future and never
 40 |     /// executed or perhaps excecuted twice.
 41 |     fileprivate let queue = DispatchQueue(label: "Internal Async Queue")
    |                             `- error: cannot find 'DispatchQueue' in scope
 42 |
 43 |     /// Upon completion of the future, all callbacks are asynchronously scheduled to their
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:47:50: error: cannot find 'DispatchSemaphore' in scope
 45 |     /// DefaultThreadingModel). Inside the context, this semaphore will be used
 46 |     /// to make sure that all callbacks are executed serially.
 47 |     fileprivate let callbackExecutionSemaphore = DispatchSemaphore(value: 1);
    |                                                  `- error: cannot find 'DispatchSemaphore' in scope
 48 |     fileprivate var callbacks = [CompletionCallback]()
 49 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:39:28: error: cannot find type 'DispatchTime' in scope
 37 |     /// Blocks the current thread until the future is completed, but no longer than the given timeout
 38 |     /// If the future did not complete before the timeout, `nil` is returned, otherwise the result of the future is returned
 39 |     func forced(_ timeout: DispatchTime) -> Value? {
    |                            `- error: cannot find type 'DispatchTime' in scope
 40 |         if let result = result {
 41 |             return result
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:59:28: error: cannot find type 'DispatchTimeInterval' in scope
 57 |     /// Will pass the main queue if we are currently on the main thread, or the
 58 |     /// global queue otherwise
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
    |                            `- error: cannot find type 'DispatchTimeInterval' in scope
 60 |         if Thread.isMainThread {
 61 |             return delay(DispatchQueue.main, interval: interval)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:25: error: cannot find type 'DispatchQueue' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                         `- error: cannot find type 'DispatchQueue' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:50: error: cannot find type 'DispatchTimeInterval' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:11:18: error: cannot find type 'DispatchQueue' in scope
 9 | import Foundation
10 |
11 | public extension DispatchQueue {
   |                  `- error: cannot find type 'DispatchQueue' in scope
12 |     var context: ExecutionContext {
13 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:44:18: error: cannot find type 'DispatchSemaphore' in scope
42 | }
43 |
44 | public extension DispatchSemaphore {
   |                  `- error: cannot find type 'DispatchSemaphore' in scope
45 |     var context: ExecutionContext {
46 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:36:8: error: cannot find 'Thread' in scope
34 | /// Runs immediately if on the main thread, otherwise asynchronously on the main thread
35 | public let immediateOnMainExecutionContext: ExecutionContext = { task in
36 |     if Thread.isMainThread {
   |        `- error: cannot find 'Thread' in scope
37 |         task()
38 |     } else {
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:39:9: error: cannot find 'DispatchQueue' in scope
37 |         task()
38 |     } else {
39 |         DispatchQueue.main.async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
40 |     }
41 | }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:50:33: error: cannot find 'Thread' in scope
48 |     }
49 |
50 |     var localThreadDictionary = Thread.current.threadDictionary
   |                                 `- error: cannot find 'Thread' in scope
51 |
52 |     var previousDepth: Int
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:60:9: error: cannot find 'DispatchQueue' in scope
58 |
59 |     if previousDepth > Static.maxTaskDepth {
60 |         DispatchQueue.global().async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
61 |     } else {
62 |         localThreadDictionary[Static.taskDepthKey] = previousDepth + 1
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/NSOperationQueue+BrightFutures.swift:11:18: error: cannot find type 'OperationQueue' in scope
 9 | import Foundation
10 |
11 | public extension OperationQueue {
   |                  `- error: cannot find type 'OperationQueue' in scope
12 |     /// An execution context that operates on the receiver.
13 |     /// Tasks added to the execution context are executed as operations on the queue.
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:28:86: error: cannot find 'DispatchQueue' in scope
 26 |     /// Turns a sequence of T's into an array of `Future<U>`'s by calling the given closure for each element in the sequence.
 27 |     /// If no context is provided, the given closure is executed on `Queue.global`
 28 |     public func traverse<U, E, A: AsyncType>(_ context: @escaping ExecutionContext = DispatchQueue.global().context, f: (Iterator.Element) -> A) -> Future<[U], E> where A.Value: ResultProtocol, A.Value.Value == U, A.Value.Error == E {
    |                                                                                      `- error: cannot find 'DispatchQueue' in scope
 29 |         return map(f).fold(context, zero: [U]()) { (list: [U], elem: U) -> [U] in
 30 |             return list + [elem]
[20/31] Compiling BrightFutures Errors.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:36:8: error: cannot find 'Thread' in scope
34 | /// Runs immediately if on the main thread, otherwise asynchronously on the main thread
35 | public let immediateOnMainExecutionContext: ExecutionContext = { task in
36 |     if Thread.isMainThread {
   |        `- error: cannot find 'Thread' in scope
37 |         task()
38 |     } else {
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:39:9: error: cannot find 'DispatchQueue' in scope
37 |         task()
38 |     } else {
39 |         DispatchQueue.main.async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
40 |     }
41 | }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:50:33: error: cannot find 'Thread' in scope
48 |     }
49 |
50 |     var localThreadDictionary = Thread.current.threadDictionary
   |                                 `- error: cannot find 'Thread' in scope
51 |
52 |     var previousDepth: Int
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:60:9: error: cannot find 'DispatchQueue' in scope
58 |
59 |     if previousDepth > Static.maxTaskDepth {
60 |         DispatchQueue.global().async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
61 |     } else {
62 |         localThreadDictionary[Static.taskDepthKey] = previousDepth + 1
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:13: error: cannot find 'Thread' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |             `- error: cannot find 'Thread' in scope
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:35: error: cannot find 'DispatchQueue' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |                                   `- error: cannot find 'DispatchQueue' in scope
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:56: error: cannot find 'DispatchQueue' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |                                                        `- error: cannot find 'DispatchQueue' in scope
73 | }
74 |
[21/31] Compiling BrightFutures ExecutionContext.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:36:8: error: cannot find 'Thread' in scope
34 | /// Runs immediately if on the main thread, otherwise asynchronously on the main thread
35 | public let immediateOnMainExecutionContext: ExecutionContext = { task in
36 |     if Thread.isMainThread {
   |        `- error: cannot find 'Thread' in scope
37 |         task()
38 |     } else {
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:39:9: error: cannot find 'DispatchQueue' in scope
37 |         task()
38 |     } else {
39 |         DispatchQueue.main.async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
40 |     }
41 | }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:50:33: error: cannot find 'Thread' in scope
48 |     }
49 |
50 |     var localThreadDictionary = Thread.current.threadDictionary
   |                                 `- error: cannot find 'Thread' in scope
51 |
52 |     var previousDepth: Int
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:60:9: error: cannot find 'DispatchQueue' in scope
58 |
59 |     if previousDepth > Static.maxTaskDepth {
60 |         DispatchQueue.global().async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
61 |     } else {
62 |         localThreadDictionary[Static.taskDepthKey] = previousDepth + 1
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:13: error: cannot find 'Thread' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |             `- error: cannot find 'Thread' in scope
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:35: error: cannot find 'DispatchQueue' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |                                   `- error: cannot find 'DispatchQueue' in scope
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:56: error: cannot find 'DispatchQueue' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |                                                        `- error: cannot find 'DispatchQueue' in scope
73 | }
74 |
[22/31] Compiling BrightFutures NSOperationQueue+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/NSOperationQueue+BrightFutures.swift:11:18: error: cannot find type 'OperationQueue' in scope
 9 | import Foundation
10 |
11 | public extension OperationQueue {
   |                  `- error: cannot find type 'OperationQueue' in scope
12 |     /// An execution context that operates on the receiver.
13 |     /// Tasks added to the execution context are executed as operations on the queue.
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[23/31] Compiling BrightFutures Promise.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/NSOperationQueue+BrightFutures.swift:11:18: error: cannot find type 'OperationQueue' in scope
 9 | import Foundation
10 |
11 | public extension OperationQueue {
   |                  `- error: cannot find type 'OperationQueue' in scope
12 |     /// An execution context that operates on the receiver.
13 |     /// Tasks added to the execution context are executed as operations on the queue.
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[24/31] Compiling BrightFutures Future.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:49:52: error: extra argument 'delay' in call
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
 49 |         super.init(result: .success(value), delay: delay)
    |                                                    `- error: extra argument 'delay' in call
 50 |     }
 51 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:53:52: error: extra argument 'delay' in call
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
 53 |         super.init(result: .failure(error), delay: delay)
    |                                                    `- error: extra argument 'delay' in call
 54 |     }
 55 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:61:43: error: extra argument 'delay' in call
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
 61 |         super.init(result: result, delay: delay)
    |                                           `- error: extra argument 'delay' in call
 62 |     }
 63 |
[25/31] Compiling BrightFutures InvalidationToken.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:49:52: error: extra argument 'delay' in call
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
 49 |         super.init(result: .success(value), delay: delay)
    |                                                    `- error: extra argument 'delay' in call
 50 |     }
 51 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:53:52: error: extra argument 'delay' in call
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
 53 |         super.init(result: .failure(error), delay: delay)
    |                                                    `- error: extra argument 'delay' in call
 54 |     }
 55 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:61:43: error: extra argument 'delay' in call
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
 61 |         super.init(result: result, delay: delay)
    |                                           `- error: extra argument 'delay' in call
 62 |     }
 63 |
[26/31] Compiling BrightFutures AsyncType.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:39:28: error: cannot find type 'DispatchTime' in scope
 37 |     /// Blocks the current thread until the future is completed, but no longer than the given timeout
 38 |     /// If the future did not complete before the timeout, `nil` is returned, otherwise the result of the future is returned
 39 |     func forced(_ timeout: DispatchTime) -> Value? {
    |                            `- error: cannot find type 'DispatchTime' in scope
 40 |         if let result = result {
 41 |             return result
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:59:28: error: cannot find type 'DispatchTimeInterval' in scope
 57 |     /// Will pass the main queue if we are currently on the main thread, or the
 58 |     /// global queue otherwise
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
    |                            `- error: cannot find type 'DispatchTimeInterval' in scope
 60 |         if Thread.isMainThread {
 61 |             return delay(DispatchQueue.main, interval: interval)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:25: error: cannot find type 'DispatchQueue' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                         `- error: cannot find type 'DispatchQueue' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:50: error: cannot find type 'DispatchTimeInterval' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:23: error: cannot find 'DispatchTime' in scope
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                       `- error: cannot find 'DispatchTime' in scope
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:36: error: argument passed to call that takes no arguments
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                                    `- error: argument passed to call that takes no arguments
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:50: error: cannot force unwrap value of non-optional type 'Self.Value'
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                                                  `- error: cannot force unwrap value of non-optional type 'Self.Value'
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:44:20: error: cannot find 'DispatchSemaphore' in scope
 42 |         }
 43 |
 44 |         let sema = DispatchSemaphore(value: 0)
    |                    `- error: cannot find 'DispatchSemaphore' in scope
 45 |         var res: Value? = nil
 46 |         onComplete(DispatchQueue.global().context) {
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:46:20: error: cannot find 'DispatchQueue' in scope
 44 |         let sema = DispatchSemaphore(value: 0)
 45 |         var res: Value? = nil
 46 |         onComplete(DispatchQueue.global().context) {
    |                    `- error: cannot find 'DispatchQueue' in scope
 47 |             res = $0
 48 |             sema.signal()
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:60:12: error: cannot find 'Thread' in scope
 58 |     /// global queue otherwise
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
 60 |         if Thread.isMainThread {
    |            `- error: cannot find 'Thread' in scope
 61 |             return delay(DispatchQueue.main, interval: interval)
 62 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:61:26: error: cannot find 'DispatchQueue' in scope
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
 60 |         if Thread.isMainThread {
 61 |             return delay(DispatchQueue.main, interval: interval)
    |                          `- error: cannot find 'DispatchQueue' in scope
 62 |         }
 63 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:64:22: error: cannot find 'DispatchQueue' in scope
 62 |         }
 63 |
 64 |         return delay(DispatchQueue.global(), interval: interval)
    |                      `- error: cannot find 'DispatchQueue' in scope
 65 |     }
 66 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:75:44: error: cannot find 'DispatchTime' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
 75 |                 queue.asyncAfter(deadline: DispatchTime.now() + interval) {
    |                                            `- error: cannot find 'DispatchTime' in scope
 76 |                     complete(result)
 77 |                 }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:11:18: error: cannot find type 'DispatchQueue' in scope
 9 | import Foundation
10 |
11 | public extension DispatchQueue {
   |                  `- error: cannot find type 'DispatchQueue' in scope
12 |     var context: ExecutionContext {
13 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:44:18: error: cannot find type 'DispatchSemaphore' in scope
42 | }
43 |
44 | public extension DispatchSemaphore {
   |                  `- error: cannot find type 'DispatchSemaphore' in scope
45 |     var context: ExecutionContext {
46 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:34:41: error: cannot find type 'DispatchTime' in scope
32 |     }
33 |
34 |     func asyncValueAfter<T>(_ deadline: DispatchTime, execute: @escaping () -> T) -> Future<T, Never> {
   |                                         `- error: cannot find type 'DispatchTime' in scope
35 |         return Future { completion in
36 |             asyncAfter(deadline: deadline) {
[27/31] Compiling BrightFutures Dispatch+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:39:28: error: cannot find type 'DispatchTime' in scope
 37 |     /// Blocks the current thread until the future is completed, but no longer than the given timeout
 38 |     /// If the future did not complete before the timeout, `nil` is returned, otherwise the result of the future is returned
 39 |     func forced(_ timeout: DispatchTime) -> Value? {
    |                            `- error: cannot find type 'DispatchTime' in scope
 40 |         if let result = result {
 41 |             return result
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:59:28: error: cannot find type 'DispatchTimeInterval' in scope
 57 |     /// Will pass the main queue if we are currently on the main thread, or the
 58 |     /// global queue otherwise
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
    |                            `- error: cannot find type 'DispatchTimeInterval' in scope
 60 |         if Thread.isMainThread {
 61 |             return delay(DispatchQueue.main, interval: interval)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:25: error: cannot find type 'DispatchQueue' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                         `- error: cannot find type 'DispatchQueue' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:50: error: cannot find type 'DispatchTimeInterval' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:23: error: cannot find 'DispatchTime' in scope
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                       `- error: cannot find 'DispatchTime' in scope
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:36: error: argument passed to call that takes no arguments
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                                    `- error: argument passed to call that takes no arguments
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:50: error: cannot force unwrap value of non-optional type 'Self.Value'
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                                                  `- error: cannot force unwrap value of non-optional type 'Self.Value'
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:44:20: error: cannot find 'DispatchSemaphore' in scope
 42 |         }
 43 |
 44 |         let sema = DispatchSemaphore(value: 0)
    |                    `- error: cannot find 'DispatchSemaphore' in scope
 45 |         var res: Value? = nil
 46 |         onComplete(DispatchQueue.global().context) {
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:46:20: error: cannot find 'DispatchQueue' in scope
 44 |         let sema = DispatchSemaphore(value: 0)
 45 |         var res: Value? = nil
 46 |         onComplete(DispatchQueue.global().context) {
    |                    `- error: cannot find 'DispatchQueue' in scope
 47 |             res = $0
 48 |             sema.signal()
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:60:12: error: cannot find 'Thread' in scope
 58 |     /// global queue otherwise
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
 60 |         if Thread.isMainThread {
    |            `- error: cannot find 'Thread' in scope
 61 |             return delay(DispatchQueue.main, interval: interval)
 62 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:61:26: error: cannot find 'DispatchQueue' in scope
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
 60 |         if Thread.isMainThread {
 61 |             return delay(DispatchQueue.main, interval: interval)
    |                          `- error: cannot find 'DispatchQueue' in scope
 62 |         }
 63 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:64:22: error: cannot find 'DispatchQueue' in scope
 62 |         }
 63 |
 64 |         return delay(DispatchQueue.global(), interval: interval)
    |                      `- error: cannot find 'DispatchQueue' in scope
 65 |     }
 66 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:75:44: error: cannot find 'DispatchTime' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
 75 |                 queue.asyncAfter(deadline: DispatchTime.now() + interval) {
    |                                            `- error: cannot find 'DispatchTime' in scope
 76 |                     complete(result)
 77 |                 }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:11:18: error: cannot find type 'DispatchQueue' in scope
 9 | import Foundation
10 |
11 | public extension DispatchQueue {
   |                  `- error: cannot find type 'DispatchQueue' in scope
12 |     var context: ExecutionContext {
13 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:44:18: error: cannot find type 'DispatchSemaphore' in scope
42 | }
43 |
44 | public extension DispatchSemaphore {
   |                  `- error: cannot find type 'DispatchSemaphore' in scope
45 |     var context: ExecutionContext {
46 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:34:41: error: cannot find type 'DispatchTime' in scope
32 |     }
33 |
34 |     func asyncValueAfter<T>(_ deadline: DispatchTime, execute: @escaping () -> T) -> Future<T, Never> {
   |                                         `- error: cannot find type 'DispatchTime' in scope
35 |         return Future { completion in
36 |             asyncAfter(deadline: deadline) {
[28/31] Compiling BrightFutures MutableAsyncType+ResultType.swift
[29/31] Compiling BrightFutures MutableAsyncType.swift
[30/31] Compiling BrightFutures SequenceType+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:28:86: error: cannot find 'DispatchQueue' in scope
 26 |     /// Turns a sequence of T's into an array of `Future<U>`'s by calling the given closure for each element in the sequence.
 27 |     /// If no context is provided, the given closure is executed on `Queue.global`
 28 |     public func traverse<U, E, A: AsyncType>(_ context: @escaping ExecutionContext = DispatchQueue.global().context, f: (Iterator.Element) -> A) -> Future<[U], E> where A.Value: ResultProtocol, A.Value.Value == U, A.Value.Error == E {
    |                                                                                      `- error: cannot find 'DispatchQueue' in scope
 29 |         return map(f).fold(context, zero: [U]()) { (list: [U], elem: U) -> [U] in
 30 |             return list + [elem]
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:41:28: error: cannot find 'DispatchQueue' in scope
 39 |         let res = Async<Iterator.Element.Value>()
 40 |         for fut in self {
 41 |             fut.onComplete(DispatchQueue.global().context) {
    |                            `- error: cannot find 'DispatchQueue' in scope
 42 |                 res.tryComplete($0)
 43 |             }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:58:21: error: cannot find 'DispatchQueue' in scope
 56 |     /// so we define some functions twice)
 57 |     public func fold<R>(_ zero: R, f: @escaping (R, Iterator.Element.Value.Value) -> R) -> Future<R, Iterator.Element.Value.Error> {
 58 |         return fold(DispatchQueue.global().context, zero: zero, f: f)
    |                     `- error: cannot find 'DispatchQueue' in scope
 59 |     }
 60 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:84:21: error: cannot find 'DispatchQueue' in scope
 82 |     /// See `find<S: SequenceType, T where S.Iterator.Element == Future<T>>(seq: S, context c: ExecutionContext, p: T -> Bool) -> Future<T>`
 83 |     public func find(_ p: @escaping (Iterator.Element.Value.Value) -> Bool) -> Future<Iterator.Element.Value.Value, BrightFuturesError<Iterator.Element.Value.Error>> {
 84 |         return find(DispatchQueue.global().context, p: p)
    |                     `- error: cannot find 'DispatchQueue' in scope
 85 |     }
 86 |
[31/31] Compiling BrightFutures SwiftConcurrency+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:28:86: error: cannot find 'DispatchQueue' in scope
 26 |     /// Turns a sequence of T's into an array of `Future<U>`'s by calling the given closure for each element in the sequence.
 27 |     /// If no context is provided, the given closure is executed on `Queue.global`
 28 |     public func traverse<U, E, A: AsyncType>(_ context: @escaping ExecutionContext = DispatchQueue.global().context, f: (Iterator.Element) -> A) -> Future<[U], E> where A.Value: ResultProtocol, A.Value.Value == U, A.Value.Error == E {
    |                                                                                      `- error: cannot find 'DispatchQueue' in scope
 29 |         return map(f).fold(context, zero: [U]()) { (list: [U], elem: U) -> [U] in
 30 |             return list + [elem]
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:41:28: error: cannot find 'DispatchQueue' in scope
 39 |         let res = Async<Iterator.Element.Value>()
 40 |         for fut in self {
 41 |             fut.onComplete(DispatchQueue.global().context) {
    |                            `- error: cannot find 'DispatchQueue' in scope
 42 |                 res.tryComplete($0)
 43 |             }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:58:21: error: cannot find 'DispatchQueue' in scope
 56 |     /// so we define some functions twice)
 57 |     public func fold<R>(_ zero: R, f: @escaping (R, Iterator.Element.Value.Value) -> R) -> Future<R, Iterator.Element.Value.Error> {
 58 |         return fold(DispatchQueue.global().context, zero: zero, f: f)
    |                     `- error: cannot find 'DispatchQueue' in scope
 59 |     }
 60 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:84:21: error: cannot find 'DispatchQueue' in scope
 82 |     /// See `find<S: SequenceType, T where S.Iterator.Element == Future<T>>(seq: S, context c: ExecutionContext, p: T -> Bool) -> Future<T>`
 83 |     public func find(_ p: @escaping (Iterator.Element.Value.Value) -> Bool) -> Future<Iterator.Element.Value.Value, BrightFuturesError<Iterator.Element.Value.Error>> {
 84 |         return find(DispatchQueue.global().context, p: p)
    |                     `- error: cannot find 'DispatchQueue' in scope
 85 |     }
 86 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/25] Compiling BrightFutures AsyncType.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:39:28: error: cannot find type 'DispatchTime' in scope
 37 |     /// Blocks the current thread until the future is completed, but no longer than the given timeout
 38 |     /// If the future did not complete before the timeout, `nil` is returned, otherwise the result of the future is returned
 39 |     func forced(_ timeout: DispatchTime) -> Value? {
    |                            `- error: cannot find type 'DispatchTime' in scope
 40 |         if let result = result {
 41 |             return result
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:59:28: error: cannot find type 'DispatchTimeInterval' in scope
 57 |     /// Will pass the main queue if we are currently on the main thread, or the
 58 |     /// global queue otherwise
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
    |                            `- error: cannot find type 'DispatchTimeInterval' in scope
 60 |         if Thread.isMainThread {
 61 |             return delay(DispatchQueue.main, interval: interval)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:25: error: cannot find type 'DispatchQueue' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                         `- error: cannot find type 'DispatchQueue' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:50: error: cannot find type 'DispatchTimeInterval' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:23: error: cannot find 'DispatchTime' in scope
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                       `- error: cannot find 'DispatchTime' in scope
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:36: error: argument passed to call that takes no arguments
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                                    `- error: argument passed to call that takes no arguments
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:50: error: cannot force unwrap value of non-optional type 'Self.Value'
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                                                  `- error: cannot force unwrap value of non-optional type 'Self.Value'
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:44:20: error: cannot find 'DispatchSemaphore' in scope
 42 |         }
 43 |
 44 |         let sema = DispatchSemaphore(value: 0)
    |                    `- error: cannot find 'DispatchSemaphore' in scope
 45 |         var res: Value? = nil
 46 |         onComplete(DispatchQueue.global().context) {
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:46:20: error: cannot find 'DispatchQueue' in scope
 44 |         let sema = DispatchSemaphore(value: 0)
 45 |         var res: Value? = nil
 46 |         onComplete(DispatchQueue.global().context) {
    |                    `- error: cannot find 'DispatchQueue' in scope
 47 |             res = $0
 48 |             sema.signal()
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:60:12: error: cannot find 'Thread' in scope
 58 |     /// global queue otherwise
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
 60 |         if Thread.isMainThread {
    |            `- error: cannot find 'Thread' in scope
 61 |             return delay(DispatchQueue.main, interval: interval)
 62 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:61:26: error: cannot find 'DispatchQueue' in scope
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
 60 |         if Thread.isMainThread {
 61 |             return delay(DispatchQueue.main, interval: interval)
    |                          `- error: cannot find 'DispatchQueue' in scope
 62 |         }
 63 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:64:22: error: cannot find 'DispatchQueue' in scope
 62 |         }
 63 |
 64 |         return delay(DispatchQueue.global(), interval: interval)
    |                      `- error: cannot find 'DispatchQueue' in scope
 65 |     }
 66 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:75:44: error: cannot find 'DispatchTime' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
 75 |                 queue.asyncAfter(deadline: DispatchTime.now() + interval) {
    |                                            `- error: cannot find 'DispatchTime' in scope
 76 |                     complete(result)
 77 |                 }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:11:18: error: cannot find type 'DispatchQueue' in scope
 9 | import Foundation
10 |
11 | public extension DispatchQueue {
   |                  `- error: cannot find type 'DispatchQueue' in scope
12 |     var context: ExecutionContext {
13 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:44:18: error: cannot find type 'DispatchSemaphore' in scope
42 | }
43 |
44 | public extension DispatchSemaphore {
   |                  `- error: cannot find type 'DispatchSemaphore' in scope
45 |     var context: ExecutionContext {
46 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:34:41: error: cannot find type 'DispatchTime' in scope
32 |     }
33 |
34 |     func asyncValueAfter<T>(_ deadline: DispatchTime, execute: @escaping () -> T) -> Future<T, Never> {
   |                                         `- error: cannot find type 'DispatchTime' in scope
35 |         return Future { completion in
36 |             asyncAfter(deadline: deadline) {
[3/25] Compiling BrightFutures Dispatch+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:39:28: error: cannot find type 'DispatchTime' in scope
 37 |     /// Blocks the current thread until the future is completed, but no longer than the given timeout
 38 |     /// If the future did not complete before the timeout, `nil` is returned, otherwise the result of the future is returned
 39 |     func forced(_ timeout: DispatchTime) -> Value? {
    |                            `- error: cannot find type 'DispatchTime' in scope
 40 |         if let result = result {
 41 |             return result
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:59:28: error: cannot find type 'DispatchTimeInterval' in scope
 57 |     /// Will pass the main queue if we are currently on the main thread, or the
 58 |     /// global queue otherwise
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
    |                            `- error: cannot find type 'DispatchTimeInterval' in scope
 60 |         if Thread.isMainThread {
 61 |             return delay(DispatchQueue.main, interval: interval)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:25: error: cannot find type 'DispatchQueue' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                         `- error: cannot find type 'DispatchQueue' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:50: error: cannot find type 'DispatchTimeInterval' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:23: error: cannot find 'DispatchTime' in scope
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                       `- error: cannot find 'DispatchTime' in scope
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:36: error: argument passed to call that takes no arguments
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                                    `- error: argument passed to call that takes no arguments
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:34:50: error: cannot force unwrap value of non-optional type 'Self.Value'
 32 |     /// Blocks the current thread until the future is completed and then returns the result
 33 |     func forced() -> Value {
 34 |         return forced(DispatchTime.distantFuture)!
    |                                                  `- error: cannot force unwrap value of non-optional type 'Self.Value'
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:44:20: error: cannot find 'DispatchSemaphore' in scope
 42 |         }
 43 |
 44 |         let sema = DispatchSemaphore(value: 0)
    |                    `- error: cannot find 'DispatchSemaphore' in scope
 45 |         var res: Value? = nil
 46 |         onComplete(DispatchQueue.global().context) {
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:46:20: error: cannot find 'DispatchQueue' in scope
 44 |         let sema = DispatchSemaphore(value: 0)
 45 |         var res: Value? = nil
 46 |         onComplete(DispatchQueue.global().context) {
    |                    `- error: cannot find 'DispatchQueue' in scope
 47 |             res = $0
 48 |             sema.signal()
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:60:12: error: cannot find 'Thread' in scope
 58 |     /// global queue otherwise
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
 60 |         if Thread.isMainThread {
    |            `- error: cannot find 'Thread' in scope
 61 |             return delay(DispatchQueue.main, interval: interval)
 62 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:61:26: error: cannot find 'DispatchQueue' in scope
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
 60 |         if Thread.isMainThread {
 61 |             return delay(DispatchQueue.main, interval: interval)
    |                          `- error: cannot find 'DispatchQueue' in scope
 62 |         }
 63 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:64:22: error: cannot find 'DispatchQueue' in scope
 62 |         }
 63 |
 64 |         return delay(DispatchQueue.global(), interval: interval)
    |                      `- error: cannot find 'DispatchQueue' in scope
 65 |     }
 66 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:75:44: error: cannot find 'DispatchTime' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
 75 |                 queue.asyncAfter(deadline: DispatchTime.now() + interval) {
    |                                            `- error: cannot find 'DispatchTime' in scope
 76 |                     complete(result)
 77 |                 }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:11:18: error: cannot find type 'DispatchQueue' in scope
 9 | import Foundation
10 |
11 | public extension DispatchQueue {
   |                  `- error: cannot find type 'DispatchQueue' in scope
12 |     var context: ExecutionContext {
13 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:44:18: error: cannot find type 'DispatchSemaphore' in scope
42 | }
43 |
44 | public extension DispatchSemaphore {
   |                  `- error: cannot find type 'DispatchSemaphore' in scope
45 |     var context: ExecutionContext {
46 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:34:41: error: cannot find type 'DispatchTime' in scope
32 |     }
33 |
34 |     func asyncValueAfter<T>(_ deadline: DispatchTime, execute: @escaping () -> T) -> Future<T, Never> {
   |                                         `- error: cannot find type 'DispatchTime' in scope
35 |         return Future { completion in
36 |             asyncAfter(deadline: deadline) {
[4/27] Compiling BrightFutures NSOperationQueue+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/NSOperationQueue+BrightFutures.swift:11:18: error: cannot find type 'OperationQueue' in scope
 9 | import Foundation
10 |
11 | public extension OperationQueue {
   |                  `- error: cannot find type 'OperationQueue' in scope
12 |     /// An execution context that operates on the receiver.
13 |     /// Tasks added to the execution context are executed as operations on the queue.
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[5/27] Compiling BrightFutures Promise.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/NSOperationQueue+BrightFutures.swift:11:18: error: cannot find type 'OperationQueue' in scope
 9 | import Foundation
10 |
11 | public extension OperationQueue {
   |                  `- error: cannot find type 'OperationQueue' in scope
12 |     /// An execution context that operates on the receiver.
13 |     /// Tasks added to the execution context are executed as operations on the queue.
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[6/27] Compiling BrightFutures Result+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[7/27] Compiling BrightFutures ResultProtocol.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[8/27] Compiling BrightFutures Errors.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:36:8: error: cannot find 'Thread' in scope
34 | /// Runs immediately if on the main thread, otherwise asynchronously on the main thread
35 | public let immediateOnMainExecutionContext: ExecutionContext = { task in
36 |     if Thread.isMainThread {
   |        `- error: cannot find 'Thread' in scope
37 |         task()
38 |     } else {
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:39:9: error: cannot find 'DispatchQueue' in scope
37 |         task()
38 |     } else {
39 |         DispatchQueue.main.async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
40 |     }
41 | }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:50:33: error: cannot find 'Thread' in scope
48 |     }
49 |
50 |     var localThreadDictionary = Thread.current.threadDictionary
   |                                 `- error: cannot find 'Thread' in scope
51 |
52 |     var previousDepth: Int
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:60:9: error: cannot find 'DispatchQueue' in scope
58 |
59 |     if previousDepth > Static.maxTaskDepth {
60 |         DispatchQueue.global().async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
61 |     } else {
62 |         localThreadDictionary[Static.taskDepthKey] = previousDepth + 1
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:13: error: cannot find 'Thread' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |             `- error: cannot find 'Thread' in scope
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:35: error: cannot find 'DispatchQueue' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |                                   `- error: cannot find 'DispatchQueue' in scope
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:56: error: cannot find 'DispatchQueue' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |                                                        `- error: cannot find 'DispatchQueue' in scope
73 | }
74 |
[9/27] Compiling BrightFutures ExecutionContext.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:36:8: error: cannot find 'Thread' in scope
34 | /// Runs immediately if on the main thread, otherwise asynchronously on the main thread
35 | public let immediateOnMainExecutionContext: ExecutionContext = { task in
36 |     if Thread.isMainThread {
   |        `- error: cannot find 'Thread' in scope
37 |         task()
38 |     } else {
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:39:9: error: cannot find 'DispatchQueue' in scope
37 |         task()
38 |     } else {
39 |         DispatchQueue.main.async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
40 |     }
41 | }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:50:33: error: cannot find 'Thread' in scope
48 |     }
49 |
50 |     var localThreadDictionary = Thread.current.threadDictionary
   |                                 `- error: cannot find 'Thread' in scope
51 |
52 |     var previousDepth: Int
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:60:9: error: cannot find 'DispatchQueue' in scope
58 |
59 |     if previousDepth > Static.maxTaskDepth {
60 |         DispatchQueue.global().async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
61 |     } else {
62 |         localThreadDictionary[Static.taskDepthKey] = previousDepth + 1
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:13: error: cannot find 'Thread' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |             `- error: cannot find 'Thread' in scope
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:35: error: cannot find 'DispatchQueue' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |                                   `- error: cannot find 'DispatchQueue' in scope
73 | }
74 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:72:56: error: cannot find 'DispatchQueue' in scope
70 | /// - if off the main thread, `DispatchQueue.global().context` is returned
71 | public func defaultContext() -> ExecutionContext {
72 |     return (Thread.isMainThread ? DispatchQueue.main : DispatchQueue.global()).context
   |                                                        `- error: cannot find 'DispatchQueue' in scope
73 | }
74 |
[10/27] Compiling BrightFutures MutableAsyncType+ResultType.swift
[11/27] Compiling BrightFutures MutableAsyncType.swift
[12/27] Compiling BrightFutures Future.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:49:52: error: extra argument 'delay' in call
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
 49 |         super.init(result: .success(value), delay: delay)
    |                                                    `- error: extra argument 'delay' in call
 50 |     }
 51 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:53:52: error: extra argument 'delay' in call
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
 53 |         super.init(result: .failure(error), delay: delay)
    |                                                    `- error: extra argument 'delay' in call
 54 |     }
 55 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:61:43: error: extra argument 'delay' in call
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
 61 |         super.init(result: result, delay: delay)
    |                                           `- error: extra argument 'delay' in call
 62 |     }
 63 |
[13/27] Compiling BrightFutures InvalidationToken.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:49:52: error: extra argument 'delay' in call
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
 49 |         super.init(result: .success(value), delay: delay)
    |                                                    `- error: extra argument 'delay' in call
 50 |     }
 51 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:53:52: error: extra argument 'delay' in call
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
 53 |         super.init(result: .failure(error), delay: delay)
    |                                                    `- error: extra argument 'delay' in call
 54 |     }
 55 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:61:43: error: extra argument 'delay' in call
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
 61 |         super.init(result: result, delay: delay)
    |                                           `- error: extra argument 'delay' in call
 62 |     }
 63 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/27] Emitting module BrightFutures
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:41:29: error: cannot find 'DispatchQueue' in scope
 39 |     /// to prevent that a callback is added to a completed future and never
 40 |     /// executed or perhaps excecuted twice.
 41 |     fileprivate let queue = DispatchQueue(label: "Internal Async Queue")
    |                             `- error: cannot find 'DispatchQueue' in scope
 42 |
 43 |     /// Upon completion of the future, all callbacks are asynchronously scheduled to their
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:47:50: error: cannot find 'DispatchSemaphore' in scope
 45 |     /// DefaultThreadingModel). Inside the context, this semaphore will be used
 46 |     /// to make sure that all callbacks are executed serially.
 47 |     fileprivate let callbackExecutionSemaphore = DispatchSemaphore(value: 1);
    |                                                  `- error: cannot find 'DispatchSemaphore' in scope
 48 |     fileprivate var callbacks = [CompletionCallback]()
 49 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:39:28: error: cannot find type 'DispatchTime' in scope
 37 |     /// Blocks the current thread until the future is completed, but no longer than the given timeout
 38 |     /// If the future did not complete before the timeout, `nil` is returned, otherwise the result of the future is returned
 39 |     func forced(_ timeout: DispatchTime) -> Value? {
    |                            `- error: cannot find type 'DispatchTime' in scope
 40 |         if let result = result {
 41 |             return result
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:59:28: error: cannot find type 'DispatchTimeInterval' in scope
 57 |     /// Will pass the main queue if we are currently on the main thread, or the
 58 |     /// global queue otherwise
 59 |     func delay(_ interval: DispatchTimeInterval) -> Self {
    |                            `- error: cannot find type 'DispatchTimeInterval' in scope
 60 |         if Thread.isMainThread {
 61 |             return delay(DispatchQueue.main, interval: interval)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:25: error: cannot find type 'DispatchQueue' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                         `- error: cannot find type 'DispatchQueue' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:72:50: error: cannot find type 'DispatchTimeInterval' in scope
 70 |     /// If you want a delay of 0 to mean 'delay until next runloop', you will want to pass the main
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
    |                                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 73 |         return Self { complete in
 74 |             onComplete(immediateExecutionContext) { result in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:11:18: error: cannot find type 'DispatchQueue' in scope
 9 | import Foundation
10 |
11 | public extension DispatchQueue {
   |                  `- error: cannot find type 'DispatchQueue' in scope
12 |     var context: ExecutionContext {
13 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Dispatch+BrightFutures.swift:44:18: error: cannot find type 'DispatchSemaphore' in scope
42 | }
43 |
44 | public extension DispatchSemaphore {
   |                  `- error: cannot find type 'DispatchSemaphore' in scope
45 |     var context: ExecutionContext {
46 |         return { task in
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:36:8: error: cannot find 'Thread' in scope
34 | /// Runs immediately if on the main thread, otherwise asynchronously on the main thread
35 | public let immediateOnMainExecutionContext: ExecutionContext = { task in
36 |     if Thread.isMainThread {
   |        `- error: cannot find 'Thread' in scope
37 |         task()
38 |     } else {
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:39:9: error: cannot find 'DispatchQueue' in scope
37 |         task()
38 |     } else {
39 |         DispatchQueue.main.async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
40 |     }
41 | }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:50:33: error: cannot find 'Thread' in scope
48 |     }
49 |
50 |     var localThreadDictionary = Thread.current.threadDictionary
   |                                 `- error: cannot find 'Thread' in scope
51 |
52 |     var previousDepth: Int
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/ExecutionContext.swift:60:9: error: cannot find 'DispatchQueue' in scope
58 |
59 |     if previousDepth > Static.maxTaskDepth {
60 |         DispatchQueue.global().async(execute: task)
   |         `- error: cannot find 'DispatchQueue' in scope
61 |     } else {
62 |         localThreadDictionary[Static.taskDepthKey] = previousDepth + 1
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/NSOperationQueue+BrightFutures.swift:11:18: error: cannot find type 'OperationQueue' in scope
 9 | import Foundation
10 |
11 | public extension OperationQueue {
   |                  `- error: cannot find type 'OperationQueue' in scope
12 |     /// An execution context that operates on the receiver.
13 |     /// Tasks added to the execution context are executed as operations on the queue.
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:28:86: error: cannot find 'DispatchQueue' in scope
 26 |     /// Turns a sequence of T's into an array of `Future<U>`'s by calling the given closure for each element in the sequence.
 27 |     /// If no context is provided, the given closure is executed on `Queue.global`
 28 |     public func traverse<U, E, A: AsyncType>(_ context: @escaping ExecutionContext = DispatchQueue.global().context, f: (Iterator.Element) -> A) -> Future<[U], E> where A.Value: ResultProtocol, A.Value.Value == U, A.Value.Error == E {
    |                                                                                      `- error: cannot find 'DispatchQueue' in scope
 29 |         return map(f).fold(context, zero: [U]()) { (list: [U], elem: U) -> [U] in
 30 |             return list + [elem]
[15/27] Compiling BrightFutures SequenceType+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:28:86: error: cannot find 'DispatchQueue' in scope
 26 |     /// Turns a sequence of T's into an array of `Future<U>`'s by calling the given closure for each element in the sequence.
 27 |     /// If no context is provided, the given closure is executed on `Queue.global`
 28 |     public func traverse<U, E, A: AsyncType>(_ context: @escaping ExecutionContext = DispatchQueue.global().context, f: (Iterator.Element) -> A) -> Future<[U], E> where A.Value: ResultProtocol, A.Value.Value == U, A.Value.Error == E {
    |                                                                                      `- error: cannot find 'DispatchQueue' in scope
 29 |         return map(f).fold(context, zero: [U]()) { (list: [U], elem: U) -> [U] in
 30 |             return list + [elem]
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:41:28: error: cannot find 'DispatchQueue' in scope
 39 |         let res = Async<Iterator.Element.Value>()
 40 |         for fut in self {
 41 |             fut.onComplete(DispatchQueue.global().context) {
    |                            `- error: cannot find 'DispatchQueue' in scope
 42 |                 res.tryComplete($0)
 43 |             }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:58:21: error: cannot find 'DispatchQueue' in scope
 56 |     /// so we define some functions twice)
 57 |     public func fold<R>(_ zero: R, f: @escaping (R, Iterator.Element.Value.Value) -> R) -> Future<R, Iterator.Element.Value.Error> {
 58 |         return fold(DispatchQueue.global().context, zero: zero, f: f)
    |                     `- error: cannot find 'DispatchQueue' in scope
 59 |     }
 60 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:84:21: error: cannot find 'DispatchQueue' in scope
 82 |     /// See `find<S: SequenceType, T where S.Iterator.Element == Future<T>>(seq: S, context c: ExecutionContext, p: T -> Bool) -> Future<T>`
 83 |     public func find(_ p: @escaping (Iterator.Element.Value.Value) -> Bool) -> Future<Iterator.Element.Value.Value, BrightFuturesError<Iterator.Element.Value.Error>> {
 84 |         return find(DispatchQueue.global().context, p: p)
    |                     `- error: cannot find 'DispatchQueue' in scope
 85 |     }
 86 |
[16/27] Compiling Kanna libxmlParserOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[17/27] Compiling BrightFutures SwiftConcurrency+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:28:86: error: cannot find 'DispatchQueue' in scope
 26 |     /// Turns a sequence of T's into an array of `Future<U>`'s by calling the given closure for each element in the sequence.
 27 |     /// If no context is provided, the given closure is executed on `Queue.global`
 28 |     public func traverse<U, E, A: AsyncType>(_ context: @escaping ExecutionContext = DispatchQueue.global().context, f: (Iterator.Element) -> A) -> Future<[U], E> where A.Value: ResultProtocol, A.Value.Value == U, A.Value.Error == E {
    |                                                                                      `- error: cannot find 'DispatchQueue' in scope
 29 |         return map(f).fold(context, zero: [U]()) { (list: [U], elem: U) -> [U] in
 30 |             return list + [elem]
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:41:28: error: cannot find 'DispatchQueue' in scope
 39 |         let res = Async<Iterator.Element.Value>()
 40 |         for fut in self {
 41 |             fut.onComplete(DispatchQueue.global().context) {
    |                            `- error: cannot find 'DispatchQueue' in scope
 42 |                 res.tryComplete($0)
 43 |             }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:58:21: error: cannot find 'DispatchQueue' in scope
 56 |     /// so we define some functions twice)
 57 |     public func fold<R>(_ zero: R, f: @escaping (R, Iterator.Element.Value.Value) -> R) -> Future<R, Iterator.Element.Value.Error> {
 58 |         return fold(DispatchQueue.global().context, zero: zero, f: f)
    |                     `- error: cannot find 'DispatchQueue' in scope
 59 |     }
 60 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/SequenceType+BrightFutures.swift:84:21: error: cannot find 'DispatchQueue' in scope
 82 |     /// See `find<S: SequenceType, T where S.Iterator.Element == Future<T>>(seq: S, context c: ExecutionContext, p: T -> Bool) -> Future<T>`
 83 |     public func find(_ p: @escaping (Iterator.Element.Value.Value) -> Bool) -> Future<Iterator.Element.Value.Value, BrightFuturesError<Iterator.Element.Value.Error>> {
 84 |         return find(DispatchQueue.global().context, p: p)
    |                     `- error: cannot find 'DispatchQueue' in scope
 85 |     }
 86 |
[18/27] Compiling Kanna resource_bundle_accessor.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[19/27] Compiling BrightFutures Async.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:41:29: error: cannot find 'DispatchQueue' in scope
 39 |     /// to prevent that a callback is added to a completed future and never
 40 |     /// executed or perhaps excecuted twice.
 41 |     fileprivate let queue = DispatchQueue(label: "Internal Async Queue")
    |                             `- error: cannot find 'DispatchQueue' in scope
 42 |
 43 |     /// Upon completion of the future, all callbacks are asynchronously scheduled to their
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:47:50: error: cannot find 'DispatchSemaphore' in scope
 45 |     /// DefaultThreadingModel). Inside the context, this semaphore will be used
 46 |     /// to make sure that all callbacks are executed serially.
 47 |     fileprivate let callbackExecutionSemaphore = DispatchSemaphore(value: 1);
    |                                                  `- error: cannot find 'DispatchSemaphore' in scope
 48 |     fileprivate var callbacks = [CompletionCallback]()
 49 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:9: error: cannot find 'DispatchQueue' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |         `- error: cannot find 'DispatchQueue' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:53: error: cannot find 'DispatchTime' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |                                                     `- error: cannot find 'DispatchTime' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[20/27] Compiling BrightFutures AsyncType+Debug.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:41:29: error: cannot find 'DispatchQueue' in scope
 39 |     /// to prevent that a callback is added to a completed future and never
 40 |     /// executed or perhaps excecuted twice.
 41 |     fileprivate let queue = DispatchQueue(label: "Internal Async Queue")
    |                             `- error: cannot find 'DispatchQueue' in scope
 42 |
 43 |     /// Upon completion of the future, all callbacks are asynchronously scheduled to their
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:47:50: error: cannot find 'DispatchSemaphore' in scope
 45 |     /// DefaultThreadingModel). Inside the context, this semaphore will be used
 46 |     /// to make sure that all callbacks are executed serially.
 47 |     fileprivate let callbackExecutionSemaphore = DispatchSemaphore(value: 1);
    |                                                  `- error: cannot find 'DispatchSemaphore' in scope
 48 |     fileprivate var callbacks = [CompletionCallback]()
 49 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:9: error: cannot find 'DispatchQueue' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |         `- error: cannot find 'DispatchQueue' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:53: error: cannot find 'DispatchTime' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |                                                     `- error: cannot find 'DispatchTime' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[21/27] Compiling BrightFutures AsyncType+ResultType.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/AsyncType.swift:18:32: error: cannot find type 'DispatchTimeInterval' in scope
 16 |     init()
 17 |     init(result: Value)
 18 |     init(result: Value, delay: DispatchTimeInterval)
    |                                `- error: cannot find type 'DispatchTimeInterval' in scope
 19 |     init<A: AsyncType>(other: A) where A.Value == Value
 20 |     init(resolver: (_ result: @escaping (Value) -> Void) -> Void)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:41:29: error: cannot find 'DispatchQueue' in scope
 39 |     /// to prevent that a callback is added to a completed future and never
 40 |     /// executed or perhaps excecuted twice.
 41 |     fileprivate let queue = DispatchQueue(label: "Internal Async Queue")
    |                             `- error: cannot find 'DispatchQueue' in scope
 42 |
 43 |     /// Upon completion of the future, all callbacks are asynchronously scheduled to their
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:47:50: error: cannot find 'DispatchSemaphore' in scope
 45 |     /// DefaultThreadingModel). Inside the context, this semaphore will be used
 46 |     /// to make sure that all callbacks are executed serially.
 47 |     fileprivate let callbackExecutionSemaphore = DispatchSemaphore(value: 1);
    |                                                  `- error: cannot find 'DispatchSemaphore' in scope
 48 |     fileprivate var callbacks = [CompletionCallback]()
 49 |
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:61:48: error: cannot find type 'DispatchTimeInterval' in scope
 59 |
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
 63 |             self.complete(result)
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:9: error: cannot find 'DispatchQueue' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |         `- error: cannot find 'DispatchQueue' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:62:53: error: cannot find 'DispatchTime' in scope
 60 |     /// Creates an `Async` that will be completed with the given result after the specified delay
 61 |     public required init(result: Value, delay: DispatchTimeInterval) {
 62 |         DispatchQueue.global().asyncAfter(deadline: DispatchTime.now() + delay) {
    |                                                     `- error: cannot find 'DispatchTime' in scope
 63 |             self.complete(result)
 64 |         }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:48:34: error: cannot find type 'DispatchTimeInterval' in scope
 46 |     }
 47 |
 48 |     public init(value: T, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 49 |         super.init(result: .success(value), delay: delay)
 50 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:52:34: error: cannot find type 'DispatchTimeInterval' in scope
 50 |     }
 51 |
 52 |     public init(error: E, delay: DispatchTimeInterval) {
    |                                  `- error: cannot find type 'DispatchTimeInterval' in scope
 53 |         super.init(result: .failure(error), delay: delay)
 54 |     }
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Future.swift:60:48: error: cannot find type 'DispatchTimeInterval' in scope
 58 |     }
 59 |
 60 |     public required init(result: Value, delay: DispatchTimeInterval) {
    |                                                `- error: cannot find type 'DispatchTimeInterval' in scope
 61 |         super.init(result: result, delay: delay)
 62 |     }
[22/27] Compiling Kanna CSS.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[23/27] Compiling Kanna libxmlHTMLNode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[24/27] Compiling Kanna libxmlHTMLDocument.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/27] Emitting module Kanna
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[26/27] Compiling Kanna Kanna.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[27/27] Compiling Kanna Deprecated.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
BUILD FAILURE 6.1 wasm