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 CSProgress, reference main (c7b4ac), with Swift 6.1 for Wasm on 28 May 2025 12:45:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/CharlesJS/CSProgress.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/CharlesJS/CSProgress
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c7b4ace Update README.md
Cloned https://github.com/CharlesJS/CSProgress.git
Revision (git rev-parse @):
c7b4ace313668de465e6828164c2296f5d01afbd
SUCCESS checkout https://github.com/CharlesJS/CSProgress.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CharlesJS/CSProgress.git
https://github.com/CharlesJS/CSProgress.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CSProgress",
  "name" : "CSProgress",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CSProgress",
      "targets" : [
        "CSProgress"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CSProgressPerformanceTests",
      "targets" : [
        "CSProgressPerformanceTests"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSProgressTests",
      "module_type" : "SwiftTarget",
      "name" : "CSProgressTests",
      "path" : "Tests/CSProgressTests",
      "sources" : [
        "CSProgressTests.swift",
        "Foundation.Progress Tests.swift"
      ],
      "target_dependencies" : [
        "CSProgress"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSProgressPerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "CSProgressPerformanceTests",
      "path" : "Tests/CSProgressPerformanceTests",
      "product_memberships" : [
        "CSProgressPerformanceTests"
      ],
      "sources" : [
        "CSProgressPerformanceTests.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "CSProgress"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CSProgress",
      "module_type" : "SwiftTarget",
      "name" : "CSProgress",
      "path" : "Sources/CSProgress",
      "product_memberships" : [
        "CSProgress",
        "CSProgressPerformanceTests"
      ],
      "sources" : [
        "CSProgress.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Emitting module CSProgress
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:210:35: error: cannot find 'DispatchSemaphore' in scope
 208 |
 209 |     // The access semaphore, allowing us to be thread-safe. A semaphore was chosen, because it performs better here than an NSLock or a dispatch queue.
 210 |     private var accessSemaphore = DispatchSemaphore(value: 1)
     |                                   `- error: cannot find 'DispatchSemaphore' in scope
 211 |
 212 |     // The parent progress object.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:409:20: error: cannot find type 'OperationQueue' in scope
 407 |     private struct CancellationNotificationWrapper {
 408 |         let notification: CancellationNotification
 409 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 410 |     }
 411 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:414:20: error: cannot find type 'OperationQueue' in scope
 412 |     private struct FractionCompletedNotificationWrapper {
 413 |         let notification: FractionCompletedNotification
 414 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 415 |     }
 416 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:419:20: error: cannot find type 'OperationQueue' in scope
 417 |     private struct DescriptionNotificationWrapper {
 418 |         let notification: DescriptionNotification
 419 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 420 |     }
 421 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:429:62: error: cannot find type 'OperationQueue' in scope
 427 |     // The add...Notification() methods return an identifier which can be later sent to remove...Notification() to remove the notification.
 428 |
 429 |     private func _addCancellationNotification(onQueue queue: OperationQueue, notification: @escaping CancellationNotification) -> Any {
     |                                                              `- error: cannot find type 'OperationQueue' in scope
 430 |         let uuid = UUID()
 431 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:453:60: error: cannot find type 'OperationQueue' in scope
 451 |      - returns: An opaque value that can be passed to removeCancellationNotification() to de-register the notification.
 452 |      */
 453 |     public func addCancellationNotification(onQueue queue: OperationQueue = .main, notification: @escaping CancellationNotification) -> Any {
     |                                                            `- error: cannot find type 'OperationQueue' in scope
 454 |         self.accessSemaphore.wait()
 455 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:478:67: error: cannot find type 'OperationQueue' in scope
 476 |     }
 477 |
 478 |     private func _addFractionCompletedNotification(onQueue queue: OperationQueue, notification: @escaping FractionCompletedNotification) -> Any {
     |                                                                   `- error: cannot find type 'OperationQueue' in scope
 479 |         let uuid = UUID()
 480 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:499:84: error: cannot find type 'OperationQueue' in scope
 497 |      - returns: An opaque value that can be passed to removeFractionCompletedNotification() to de-register the notification.
 498 |      */
 499 |     @discardableResult public func addFractionCompletedNotification(onQueue queue: OperationQueue = .main, notification: @escaping FractionCompletedNotification) -> Any {
     |                                                                                    `- error: cannot find type 'OperationQueue' in scope
 500 |         self.accessSemaphore.wait()
 501 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:524:61: error: cannot find type 'OperationQueue' in scope
 522 |     }
 523 |
 524 |     private func _addDescriptionNotification(onQueue queue: OperationQueue, notification: @escaping DescriptionNotification) -> Any {
     |                                                             `- error: cannot find type 'OperationQueue' in scope
 525 |         let uuid = UUID()
 526 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:545:78: error: cannot find type 'OperationQueue' in scope
 543 |      - returns: An opaque value that can be passed to removeDescriptionNotification() to de-register the notification.
 544 |      */
 545 |     @discardableResult public func addDescriptionNotification(onQueue queue: OperationQueue = .main, notification: @escaping DescriptionNotification) -> Any {
     |                                                                              `- error: cannot find type 'OperationQueue' in scope
 546 |         self.accessSemaphore.wait()
 547 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:715:134: error: cannot find type 'OperationQueue' in scope
 713 |      This parameter defaults to the main operation queue.
 714 |      */
 715 |     public convenience init<Count: BinaryInteger>(totalUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                                                                                      `- error: cannot find type 'OperationQueue' in scope
 716 |         if let parentRef = CSProgress._current {
 717 |             let parent = parentRef.progress
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:749:99: error: cannot find type 'OperationQueue' in scope
 747 |      This parameter defaults to the main operation queue.
 748 |      */
 749 |     public func becomeCurrent<Count: BinaryInteger>(withPendingUnitCount unitCount: Count, queue: OperationQueue = .main) {
     |                                                                                                   `- error: cannot find type 'OperationQueue' in scope
 750 |         CSProgress._current = ParentReference(progress: self, pendingUnitCount: UnitCount(unitCount))
 751 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:959:35: error: no type named 'Progress' in module 'Foundation'
 957 |         private var isUpdatingKey: pthread_key_t = 0
 958 |
 959 |         init(progress: Foundation.Progress, queue: OperationQueue) {
     |                                   `- error: no type named 'Progress' in module 'Foundation'
 960 |             self.progress = progress
 961 |             self.queue = queue
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:959:52: error: cannot find type 'OperationQueue' in scope
 957 |         private var isUpdatingKey: pthread_key_t = 0
 958 |
 959 |         init(progress: Foundation.Progress, queue: OperationQueue) {
     |                                                    `- error: cannot find type 'OperationQueue' in scope
 960 |             self.progress = progress
 961 |             self.queue = queue
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:954:34: error: no type named 'Progress' in module 'Foundation'
 952 |     // The backing for a CSProgress wrapping an NSProgress.
 953 |     private final class ObjectiveCBacking: NSObject {
 954 |         let progress: Foundation.Progress
     |                                  `- error: no type named 'Progress' in module 'Foundation'
 955 |         let queue: OperationQueue
 956 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:955:20: error: cannot find type 'OperationQueue' in scope
 953 |     private final class ObjectiveCBacking: NSObject {
 954 |         let progress: Foundation.Progress
 955 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 956 |
 957 |         private var isUpdatingKey: pthread_key_t = 0
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1102:39: error: cannot find type 'NSKeyValueObservation' in scope
1100 |         }
1101 |
1102 |         private var kvoObservations: [NSKeyValueObservation] = []
     |                                       `- error: cannot find type 'NSKeyValueObservation' in scope
1103 |
1104 |         private func startWatching() {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1169:70: error: no type named 'Progress' in module 'Foundation'
1167 |      This parameter defaults to the main operation queue.
1168 |      */
1169 |     private init<Count: BinaryInteger>(wrappedNSProgress: Foundation.Progress, parent: CSProgress?, pendingUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                      `- error: no type named 'Progress' in module 'Foundation'
1170 |         let backing = ObjectiveCBacking(progress: wrappedNSProgress, queue: queue)
1171 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1169:186: error: cannot find type 'OperationQueue' in scope
1167 |      This parameter defaults to the main operation queue.
1168 |      */
1169 |     private init<Count: BinaryInteger>(wrappedNSProgress: Foundation.Progress, parent: CSProgress?, pendingUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                                                                                                                                          `- error: cannot find type 'OperationQueue' in scope
1170 |         let backing = ObjectiveCBacking(progress: wrappedNSProgress, queue: queue)
1171 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1211:55: error: no type named 'Progress' in module 'Foundation'
1209 |
1210 |     // An NSProgress subclass that wraps a CSProgress.
1211 |     private final class BridgedNSProgress: Foundation.Progress {
     |                                                       `- error: no type named 'Progress' in module 'Foundation'
1212 |         private(set) weak var progress: CSProgress?
1213 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1218:43: error: cannot find type 'OperationQueue' in scope
1216 |         private var cancellationIdentifier: Any?
1217 |
1218 |         init(progress: CSProgress, queue: OperationQueue = .main) {
     |                                           `- error: cannot find type 'OperationQueue' in scope
1219 |             self.progress = progress
1220 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1253:22: error: property does not override any property from its superclass
1251 |         }
1252 |
1253 |         override var totalUnitCount: Int64 {
     |                      `- error: property does not override any property from its superclass
1254 |             didSet { self.progress?.totalUnitCount = UnitCount(self.totalUnitCount) }
1255 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1257:22: error: property does not override any property from its superclass
1255 |         }
1256 |
1257 |         override var completedUnitCount: Int64 {
     |                      `- error: property does not override any property from its superclass
1258 |             didSet { self.progress?.completedUnitCount = UnitCount(self.completedUnitCount) }
1259 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1261:22: error: property does not override any property from its superclass
1259 |         }
1260 |
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
     |                      `- error: property does not override any property from its superclass
1262 |
1263 |         override var localizedDescription: String! {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1263:22: error: property does not override any property from its superclass
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
1262 |
1263 |         override var localizedDescription: String! {
     |                      `- error: property does not override any property from its superclass
1264 |             didSet { self.progress?.localizedDescription = self.localizedDescription }
1265 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1267:22: error: property does not override any property from its superclass
1265 |         }
1266 |
1267 |         override var localizedAdditionalDescription: String! {
     |                      `- error: property does not override any property from its superclass
1268 |             didSet { self.progress?.localizedAdditionalDescription = self.localizedAdditionalDescription }
1269 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1272:47: error: no type named 'Progress' in module 'Foundation'
1270 |     }
1271 |
1272 |     private var bridgedNSProgress: Foundation.Progress?
     |                                               `- error: no type named 'Progress' in module 'Foundation'
1273 |
1274 |     /**
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1283:81: error: no type named 'Progress' in module 'Foundation'
1281 |      Defaults to the main operation queue.
1282 |      */
1283 |     public func bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                                                                 `- error: no type named 'Progress' in module 'Foundation'
1284 |         self.accessSemaphore.wait()
1285 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1283:43: error: cannot find type 'OperationQueue' in scope
1281 |      Defaults to the main operation queue.
1282 |      */
1283 |     public func bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                           `- error: cannot find type 'OperationQueue' in scope
1284 |         self.accessSemaphore.wait()
1285 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1290:83: error: no type named 'Progress' in module 'Foundation'
1288 |     }
1289 |
1290 |     private func _bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                                                                   `- error: no type named 'Progress' in module 'Foundation'
1291 |         // If we're wrapping an NSProgress, return that. Otherwise wrap ourselves in a BridgedNSProgress.
1292 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1290:45: error: cannot find type 'OperationQueue' in scope
1288 |     }
1289 |
1290 |     private func _bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                             `- error: cannot find type 'OperationQueue' in scope
1291 |         // If we're wrapping an NSProgress, return that. Otherwise wrap ourselves in a BridgedNSProgress.
1292 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1322:51: error: no type named 'Progress' in module 'Foundation'
1320 |      Defaults to the main operation queue.
1321 |      */
1322 |     public static func bridge(from ns: Foundation.Progress, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) -> CSProgress {
     |                                                   `- error: no type named 'Progress' in module 'Foundation'
1323 |         // If it's wrapping a CSProgress, return that. Otherwise, wrap that sucker
1324 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1322:121: error: cannot find type 'OperationQueue' in scope
1320 |      Defaults to the main operation queue.
1321 |      */
1322 |     public static func bridge(from ns: Foundation.Progress, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) -> CSProgress {
     |                                                                                                                         `- error: cannot find type 'OperationQueue' in scope
1323 |         // If it's wrapping a CSProgress, return that. Otherwise, wrap that sucker
1324 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1334:51: error: no type named 'Progress' in module 'Foundation'
1332 |
1333 | extension CSProgress: _ObjectiveCBridgeable {
1334 |     public typealias _ObjectiveCType = Foundation.Progress
     |                                                   `- error: no type named 'Progress' in module 'Foundation'
1335 |
1336 |     public func _bridgeToObjectiveC() -> Foundation.Progress {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1336:53: error: no type named 'Progress' in module 'Foundation'
1334 |     public typealias _ObjectiveCType = Foundation.Progress
1335 |
1336 |     public func _bridgeToObjectiveC() -> Foundation.Progress {
     |                                                     `- error: no type named 'Progress' in module 'Foundation'
1337 |         return self.bridgeToNSProgress()
1338 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1340:68: error: no type named 'Progress' in module 'Foundation'
1338 |     }
1339 |
1340 |     public static func _forceBridgeFromObjectiveC(_ ns: Foundation.Progress, result: inout CSProgress?) {
     |                                                                    `- error: no type named 'Progress' in module 'Foundation'
1341 |         result = self.bridge(from: ns)
1342 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1344:76: error: no type named 'Progress' in module 'Foundation'
1342 |     }
1343 |
1344 |     public static func _conditionallyBridgeFromObjectiveC(_ ns: Foundation.Progress, result: inout CSProgress?) -> Bool {
     |                                                                            `- error: no type named 'Progress' in module 'Foundation'
1345 |         result = self.bridge(from: ns)
1346 |         return true
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1349:78: error: no type named 'Progress' in module 'Foundation'
1347 |     }
1348 |
1349 |     public static func _unconditionallyBridgeFromObjectiveC(_ ns: Foundation.Progress?) -> CSProgress {
     |                                                                              `- error: no type named 'Progress' in module 'Foundation'
1350 |         return self.bridge(from: ns!)
1351 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1333:1: error: type 'CSProgress' does not conform to protocol '_ObjectiveCBridgeable'
1331 | }
1332 |
1333 | extension CSProgress: _ObjectiveCBridgeable {
     | |- error: type 'CSProgress' does not conform to protocol '_ObjectiveCBridgeable'
     | `- note: add stubs for conformance
1334 |     public typealias _ObjectiveCType = Foundation.Progress
1335 |
Swift._ObjectiveCBridgeable._ObjectiveCType:2:16: note: protocol requires nested type '_ObjectiveCType'
1 | protocol _ObjectiveCBridgeable {
2 | associatedtype _ObjectiveCType : AnyObject}
  |                `- note: protocol requires nested type '_ObjectiveCType'
3 |
[5/9] Compiling CSProgress CSProgress.swift
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:210:35: error: cannot find 'DispatchSemaphore' in scope
 208 |
 209 |     // The access semaphore, allowing us to be thread-safe. A semaphore was chosen, because it performs better here than an NSLock or a dispatch queue.
 210 |     private var accessSemaphore = DispatchSemaphore(value: 1)
     |                                   `- error: cannot find 'DispatchSemaphore' in scope
 211 |
 212 |     // The parent progress object.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:409:20: error: cannot find type 'OperationQueue' in scope
 407 |     private struct CancellationNotificationWrapper {
 408 |         let notification: CancellationNotification
 409 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 410 |     }
 411 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:414:20: error: cannot find type 'OperationQueue' in scope
 412 |     private struct FractionCompletedNotificationWrapper {
 413 |         let notification: FractionCompletedNotification
 414 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 415 |     }
 416 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:419:20: error: cannot find type 'OperationQueue' in scope
 417 |     private struct DescriptionNotificationWrapper {
 418 |         let notification: DescriptionNotification
 419 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 420 |     }
 421 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:429:62: error: cannot find type 'OperationQueue' in scope
 427 |     // The add...Notification() methods return an identifier which can be later sent to remove...Notification() to remove the notification.
 428 |
 429 |     private func _addCancellationNotification(onQueue queue: OperationQueue, notification: @escaping CancellationNotification) -> Any {
     |                                                              `- error: cannot find type 'OperationQueue' in scope
 430 |         let uuid = UUID()
 431 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:453:60: error: cannot find type 'OperationQueue' in scope
 451 |      - returns: An opaque value that can be passed to removeCancellationNotification() to de-register the notification.
 452 |      */
 453 |     public func addCancellationNotification(onQueue queue: OperationQueue = .main, notification: @escaping CancellationNotification) -> Any {
     |                                                            `- error: cannot find type 'OperationQueue' in scope
 454 |         self.accessSemaphore.wait()
 455 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:478:67: error: cannot find type 'OperationQueue' in scope
 476 |     }
 477 |
 478 |     private func _addFractionCompletedNotification(onQueue queue: OperationQueue, notification: @escaping FractionCompletedNotification) -> Any {
     |                                                                   `- error: cannot find type 'OperationQueue' in scope
 479 |         let uuid = UUID()
 480 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:499:84: error: cannot find type 'OperationQueue' in scope
 497 |      - returns: An opaque value that can be passed to removeFractionCompletedNotification() to de-register the notification.
 498 |      */
 499 |     @discardableResult public func addFractionCompletedNotification(onQueue queue: OperationQueue = .main, notification: @escaping FractionCompletedNotification) -> Any {
     |                                                                                    `- error: cannot find type 'OperationQueue' in scope
 500 |         self.accessSemaphore.wait()
 501 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:524:61: error: cannot find type 'OperationQueue' in scope
 522 |     }
 523 |
 524 |     private func _addDescriptionNotification(onQueue queue: OperationQueue, notification: @escaping DescriptionNotification) -> Any {
     |                                                             `- error: cannot find type 'OperationQueue' in scope
 525 |         let uuid = UUID()
 526 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:545:78: error: cannot find type 'OperationQueue' in scope
 543 |      - returns: An opaque value that can be passed to removeDescriptionNotification() to de-register the notification.
 544 |      */
 545 |     @discardableResult public func addDescriptionNotification(onQueue queue: OperationQueue = .main, notification: @escaping DescriptionNotification) -> Any {
     |                                                                              `- error: cannot find type 'OperationQueue' in scope
 546 |         self.accessSemaphore.wait()
 547 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:715:134: error: cannot find type 'OperationQueue' in scope
 713 |      This parameter defaults to the main operation queue.
 714 |      */
 715 |     public convenience init<Count: BinaryInteger>(totalUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                                                                                      `- error: cannot find type 'OperationQueue' in scope
 716 |         if let parentRef = CSProgress._current {
 717 |             let parent = parentRef.progress
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:749:99: error: cannot find type 'OperationQueue' in scope
 747 |      This parameter defaults to the main operation queue.
 748 |      */
 749 |     public func becomeCurrent<Count: BinaryInteger>(withPendingUnitCount unitCount: Count, queue: OperationQueue = .main) {
     |                                                                                                   `- error: cannot find type 'OperationQueue' in scope
 750 |         CSProgress._current = ParentReference(progress: self, pendingUnitCount: UnitCount(unitCount))
 751 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:959:35: error: no type named 'Progress' in module 'Foundation'
 957 |         private var isUpdatingKey: pthread_key_t = 0
 958 |
 959 |         init(progress: Foundation.Progress, queue: OperationQueue) {
     |                                   `- error: no type named 'Progress' in module 'Foundation'
 960 |             self.progress = progress
 961 |             self.queue = queue
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:959:52: error: cannot find type 'OperationQueue' in scope
 957 |         private var isUpdatingKey: pthread_key_t = 0
 958 |
 959 |         init(progress: Foundation.Progress, queue: OperationQueue) {
     |                                                    `- error: cannot find type 'OperationQueue' in scope
 960 |             self.progress = progress
 961 |             self.queue = queue
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:954:34: error: no type named 'Progress' in module 'Foundation'
 952 |     // The backing for a CSProgress wrapping an NSProgress.
 953 |     private final class ObjectiveCBacking: NSObject {
 954 |         let progress: Foundation.Progress
     |                                  `- error: no type named 'Progress' in module 'Foundation'
 955 |         let queue: OperationQueue
 956 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:955:20: error: cannot find type 'OperationQueue' in scope
 953 |     private final class ObjectiveCBacking: NSObject {
 954 |         let progress: Foundation.Progress
 955 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 956 |
 957 |         private var isUpdatingKey: pthread_key_t = 0
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1102:39: error: cannot find type 'NSKeyValueObservation' in scope
1100 |         }
1101 |
1102 |         private var kvoObservations: [NSKeyValueObservation] = []
     |                                       `- error: cannot find type 'NSKeyValueObservation' in scope
1103 |
1104 |         private func startWatching() {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1169:70: error: no type named 'Progress' in module 'Foundation'
1167 |      This parameter defaults to the main operation queue.
1168 |      */
1169 |     private init<Count: BinaryInteger>(wrappedNSProgress: Foundation.Progress, parent: CSProgress?, pendingUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                      `- error: no type named 'Progress' in module 'Foundation'
1170 |         let backing = ObjectiveCBacking(progress: wrappedNSProgress, queue: queue)
1171 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1169:186: error: cannot find type 'OperationQueue' in scope
1167 |      This parameter defaults to the main operation queue.
1168 |      */
1169 |     private init<Count: BinaryInteger>(wrappedNSProgress: Foundation.Progress, parent: CSProgress?, pendingUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                                                                                                                                          `- error: cannot find type 'OperationQueue' in scope
1170 |         let backing = ObjectiveCBacking(progress: wrappedNSProgress, queue: queue)
1171 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1211:55: error: no type named 'Progress' in module 'Foundation'
1209 |
1210 |     // An NSProgress subclass that wraps a CSProgress.
1211 |     private final class BridgedNSProgress: Foundation.Progress {
     |                                                       `- error: no type named 'Progress' in module 'Foundation'
1212 |         private(set) weak var progress: CSProgress?
1213 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1218:43: error: cannot find type 'OperationQueue' in scope
1216 |         private var cancellationIdentifier: Any?
1217 |
1218 |         init(progress: CSProgress, queue: OperationQueue = .main) {
     |                                           `- error: cannot find type 'OperationQueue' in scope
1219 |             self.progress = progress
1220 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1253:22: error: property does not override any property from its superclass
1251 |         }
1252 |
1253 |         override var totalUnitCount: Int64 {
     |                      `- error: property does not override any property from its superclass
1254 |             didSet { self.progress?.totalUnitCount = UnitCount(self.totalUnitCount) }
1255 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1257:22: error: property does not override any property from its superclass
1255 |         }
1256 |
1257 |         override var completedUnitCount: Int64 {
     |                      `- error: property does not override any property from its superclass
1258 |             didSet { self.progress?.completedUnitCount = UnitCount(self.completedUnitCount) }
1259 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1261:22: error: property does not override any property from its superclass
1259 |         }
1260 |
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
     |                      `- error: property does not override any property from its superclass
1262 |
1263 |         override var localizedDescription: String! {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1263:22: error: property does not override any property from its superclass
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
1262 |
1263 |         override var localizedDescription: String! {
     |                      `- error: property does not override any property from its superclass
1264 |             didSet { self.progress?.localizedDescription = self.localizedDescription }
1265 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1267:22: error: property does not override any property from its superclass
1265 |         }
1266 |
1267 |         override var localizedAdditionalDescription: String! {
     |                      `- error: property does not override any property from its superclass
1268 |             didSet { self.progress?.localizedAdditionalDescription = self.localizedAdditionalDescription }
1269 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1272:47: error: no type named 'Progress' in module 'Foundation'
1270 |     }
1271 |
1272 |     private var bridgedNSProgress: Foundation.Progress?
     |                                               `- error: no type named 'Progress' in module 'Foundation'
1273 |
1274 |     /**
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1283:81: error: no type named 'Progress' in module 'Foundation'
1281 |      Defaults to the main operation queue.
1282 |      */
1283 |     public func bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                                                                 `- error: no type named 'Progress' in module 'Foundation'
1284 |         self.accessSemaphore.wait()
1285 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1283:43: error: cannot find type 'OperationQueue' in scope
1281 |      Defaults to the main operation queue.
1282 |      */
1283 |     public func bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                           `- error: cannot find type 'OperationQueue' in scope
1284 |         self.accessSemaphore.wait()
1285 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1290:83: error: no type named 'Progress' in module 'Foundation'
1288 |     }
1289 |
1290 |     private func _bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                                                                   `- error: no type named 'Progress' in module 'Foundation'
1291 |         // If we're wrapping an NSProgress, return that. Otherwise wrap ourselves in a BridgedNSProgress.
1292 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1290:45: error: cannot find type 'OperationQueue' in scope
1288 |     }
1289 |
1290 |     private func _bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                             `- error: cannot find type 'OperationQueue' in scope
1291 |         // If we're wrapping an NSProgress, return that. Otherwise wrap ourselves in a BridgedNSProgress.
1292 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1322:51: error: no type named 'Progress' in module 'Foundation'
1320 |      Defaults to the main operation queue.
1321 |      */
1322 |     public static func bridge(from ns: Foundation.Progress, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) -> CSProgress {
     |                                                   `- error: no type named 'Progress' in module 'Foundation'
1323 |         // If it's wrapping a CSProgress, return that. Otherwise, wrap that sucker
1324 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1322:121: error: cannot find type 'OperationQueue' in scope
1320 |      Defaults to the main operation queue.
1321 |      */
1322 |     public static func bridge(from ns: Foundation.Progress, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) -> CSProgress {
     |                                                                                                                         `- error: cannot find type 'OperationQueue' in scope
1323 |         // If it's wrapping a CSProgress, return that. Otherwise, wrap that sucker
1324 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1334:51: error: no type named 'Progress' in module 'Foundation'
1332 |
1333 | extension CSProgress: _ObjectiveCBridgeable {
1334 |     public typealias _ObjectiveCType = Foundation.Progress
     |                                                   `- error: no type named 'Progress' in module 'Foundation'
1335 |
1336 |     public func _bridgeToObjectiveC() -> Foundation.Progress {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1336:53: error: no type named 'Progress' in module 'Foundation'
1334 |     public typealias _ObjectiveCType = Foundation.Progress
1335 |
1336 |     public func _bridgeToObjectiveC() -> Foundation.Progress {
     |                                                     `- error: no type named 'Progress' in module 'Foundation'
1337 |         return self.bridgeToNSProgress()
1338 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1340:68: error: no type named 'Progress' in module 'Foundation'
1338 |     }
1339 |
1340 |     public static func _forceBridgeFromObjectiveC(_ ns: Foundation.Progress, result: inout CSProgress?) {
     |                                                                    `- error: no type named 'Progress' in module 'Foundation'
1341 |         result = self.bridge(from: ns)
1342 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1344:76: error: no type named 'Progress' in module 'Foundation'
1342 |     }
1343 |
1344 |     public static func _conditionallyBridgeFromObjectiveC(_ ns: Foundation.Progress, result: inout CSProgress?) -> Bool {
     |                                                                            `- error: no type named 'Progress' in module 'Foundation'
1345 |         result = self.bridge(from: ns)
1346 |         return true
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1349:78: error: no type named 'Progress' in module 'Foundation'
1347 |     }
1348 |
1349 |     public static func _unconditionallyBridgeFromObjectiveC(_ ns: Foundation.Progress?) -> CSProgress {
     |                                                                              `- error: no type named 'Progress' in module 'Foundation'
1350 |         return self.bridge(from: ns!)
1351 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1333:1: error: type 'CSProgress' does not conform to protocol '_ObjectiveCBridgeable'
1331 | }
1332 |
1333 | extension CSProgress: _ObjectiveCBridgeable {
     | |- error: type 'CSProgress' does not conform to protocol '_ObjectiveCBridgeable'
     | `- note: add stubs for conformance
1334 |     public typealias _ObjectiveCType = Foundation.Progress
1335 |
Swift._ObjectiveCBridgeable._ObjectiveCType:2:16: note: protocol requires nested type '_ObjectiveCType'
1 | protocol _ObjectiveCBridgeable {
2 | associatedtype _ObjectiveCType : AnyObject}
  |                `- note: protocol requires nested type '_ObjectiveCType'
3 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:404:33: error: cannot find 'DispatchSemaphore' in scope
 402 |         self.backing.removeChild(child)
 403 |         child.parent = nil
 404 |         child.accessSemaphore = DispatchSemaphore(value: 1)
     |                                 `- error: cannot find 'DispatchSemaphore' in scope
 405 |     }
 406 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:686:20: error: cannot find 'Thread' in scope
 684 |     private static var _current: ParentReference? {
 685 |         get {
 686 |             return Thread.current.threadDictionary.object(forKey: self.currentProgressKey) as? ParentReference
     |                    `- error: cannot find 'Thread' in scope
 687 |         }
 688 |         set {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:690:17: error: cannot find 'Thread' in scope
 688 |         set {
 689 |             if let parentRef = newValue {
 690 |                 Thread.current.threadDictionary.setObject(parentRef, forKey: self.currentProgressKey as NSString)
     |                 `- error: cannot find 'Thread' in scope
 691 |             } else {
 692 |                 Thread.current.threadDictionary.removeObject(forKey: self.currentProgressKey)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:692:17: error: cannot find 'Thread' in scope
 690 |                 Thread.current.threadDictionary.setObject(parentRef, forKey: self.currentProgressKey as NSString)
 691 |             } else {
 692 |                 Thread.current.threadDictionary.removeObject(forKey: self.currentProgressKey)
     |                 `- error: cannot find 'Thread' in scope
 693 |             }
 694 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:724:19: error: module 'Foundation' has no member named 'Progress'
 722 |             // Prevent double-attaching
 723 |             parent.resignCurrent()
 724 |         } else if Foundation.Progress.current() != nil {
     |                   `- error: module 'Foundation' has no member named 'Progress'
 725 |             // We have no way of knowing the current progress's pending unit count, so put a shim in between it and us
 726 |             let shim = Foundation.Progress(totalUnitCount: 1)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:726:24: error: module 'Foundation' has no member named 'Progress'
 724 |         } else if Foundation.Progress.current() != nil {
 725 |             // We have no way of knowing the current progress's pending unit count, so put a shim in between it and us
 726 |             let shim = Foundation.Progress(totalUnitCount: 1)
     |                        `- error: module 'Foundation' has no member named 'Progress'
 727 |
 728 |             let parent = CSProgress.bridge(from: shim, queue: queue)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:752:28: error: no type named 'Progress' in module 'Foundation'
 750 |         CSProgress._current = ParentReference(progress: self, pendingUnitCount: UnitCount(unitCount))
 751 |
 752 |         let ns: Foundation.Progress = {
     |                            `- error: no type named 'Progress' in module 'Foundation'
 753 |             switch self.backing {
 754 |             case .swift:
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:779:28: error: module 'Foundation' has no member named 'Progress'
 777 |         }
 778 |
 779 |         if let currentNS = Foundation.Progress.current() {
     |                            `- error: module 'Foundation' has no member named 'Progress'
 780 |             switch self.backing {
 781 |             case let .swift(backing):
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:972:13: error: cannot find 'pthread_key_create' in scope
 970 |             // reasons.
 971 |
 972 |             pthread_key_create(&self.isUpdatingKey) {
     |             `- error: cannot find 'pthread_key_create' in scope
 973 |                 let ptr = $0.bindMemory(to: Bool.self, capacity: 1)
 974 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:990:24: error: cannot find 'pthread_getspecific' in scope
 988 |         private var isUpdating: Bool {
 989 |             get {
 990 |                 return pthread_getspecific(self.isUpdatingKey)?.bindMemory(to: Bool.self, capacity: 1).pointee ?? false
     |                        `- error: cannot find 'pthread_getspecific' in scope
 991 |             }
 992 |             set {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:993:30: error: cannot find 'pthread_getspecific' in scope
 991 |             }
 992 |             set {
 993 |                 if let ptr = pthread_getspecific(self.isUpdatingKey)?.bindMemory(to: Bool.self, capacity: 1) {
     |                              `- error: cannot find 'pthread_getspecific' in scope
 994 |                     ptr.pointee = newValue
 995 |                 } else {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:999:21: error: cannot find 'pthread_setspecific' in scope
 997 |                     ptr.initialize(to: newValue)
 998 |
 999 |                     pthread_setspecific(self.isUpdatingKey, ptr)
     |                     `- error: cannot find 'pthread_setspecific' in scope
1000 |                 }
1001 |             }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1082:28: error: module 'Foundation' has no member named 'Progress'
1080 |                 // FIXME: this has not been tested yet.
1081 |                 self.progress.becomeCurrent(withPendingUnitCount: Int64(pendingUnitCount))
1082 |                 let shim = Foundation.Progress(totalUnitCount: 1)
     |                            `- error: module 'Foundation' has no member named 'Progress'
1083 |                 self.progress.resignCurrent()
1084 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1108:63: error: cannot infer key path type from context; consider explicitly specifying a root type
1106 |             // ignore the notification or we'll just keep going back and forth forever.
1107 |
1108 |             self.kvoObservations.append(self.progress.observe(\.fractionCompleted) { [weak self] _, _ in
     |                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1109 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.fractionCompletedUpdatedHandler {
1110 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1108:98: error: cannot infer type of closure parameter '_' without a type annotation
1106 |             // ignore the notification or we'll just keep going back and forth forever.
1107 |
1108 |             self.kvoObservations.append(self.progress.observe(\.fractionCompleted) { [weak self] _, _ in
     |                                                                                                  `- error: cannot infer type of closure parameter '_' without a type annotation
1109 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.fractionCompletedUpdatedHandler {
1110 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1108:101: error: cannot infer type of closure parameter '_' without a type annotation
1106 |             // ignore the notification or we'll just keep going back and forth forever.
1107 |
1108 |             self.kvoObservations.append(self.progress.observe(\.fractionCompleted) { [weak self] _, _ in
     |                                                                                                     `- error: cannot infer type of closure parameter '_' without a type annotation
1109 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.fractionCompletedUpdatedHandler {
1110 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1114:63: error: cannot infer key path type from context; consider explicitly specifying a root type
1112 |             })
1113 |
1114 |             self.kvoObservations.append(self.progress.observe(\.isIndeterminate) { [weak self] _, _ in
     |                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1115 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.indeterminateHandler {
1116 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1114:96: error: cannot infer type of closure parameter '_' without a type annotation
1112 |             })
1113 |
1114 |             self.kvoObservations.append(self.progress.observe(\.isIndeterminate) { [weak self] _, _ in
     |                                                                                                `- error: cannot infer type of closure parameter '_' without a type annotation
1115 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.indeterminateHandler {
1116 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1114:99: error: cannot infer type of closure parameter '_' without a type annotation
1112 |             })
1113 |
1114 |             self.kvoObservations.append(self.progress.observe(\.isIndeterminate) { [weak self] _, _ in
     |                                                                                                   `- error: cannot infer type of closure parameter '_' without a type annotation
1115 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.indeterminateHandler {
1116 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1120:63: error: cannot infer key path type from context; consider explicitly specifying a root type
1118 |             })
1119 |
1120 |             self.kvoObservations.append(self.progress.observe(\.isCancelled) { [weak self] _, _ in
     |                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1121 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.cancellationHandler {
1122 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1120:92: error: cannot infer type of closure parameter '_' without a type annotation
1118 |             })
1119 |
1120 |             self.kvoObservations.append(self.progress.observe(\.isCancelled) { [weak self] _, _ in
     |                                                                                            `- error: cannot infer type of closure parameter '_' without a type annotation
1121 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.cancellationHandler {
1122 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1120:95: error: cannot infer type of closure parameter '_' without a type annotation
1118 |             })
1119 |
1120 |             self.kvoObservations.append(self.progress.observe(\.isCancelled) { [weak self] _, _ in
     |                                                                                               `- error: cannot infer type of closure parameter '_' without a type annotation
1121 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.cancellationHandler {
1122 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1126:63: error: cannot infer key path type from context; consider explicitly specifying a root type
1124 |             })
1125 |
1126 |             self.kvoObservations.append(self.progress.observe(\.localizedDescription) { [weak self] _, _ in
     |                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1127 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1128 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1126:101: error: cannot infer type of closure parameter '_' without a type annotation
1124 |             })
1125 |
1126 |             self.kvoObservations.append(self.progress.observe(\.localizedDescription) { [weak self] _, _ in
     |                                                                                                     `- error: cannot infer type of closure parameter '_' without a type annotation
1127 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1128 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1126:104: error: cannot infer type of closure parameter '_' without a type annotation
1124 |             })
1125 |
1126 |             self.kvoObservations.append(self.progress.observe(\.localizedDescription) { [weak self] _, _ in
     |                                                                                                        `- error: cannot infer type of closure parameter '_' without a type annotation
1127 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1128 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1132:63: error: cannot infer key path type from context; consider explicitly specifying a root type
1130 |             })
1131 |
1132 |             self.kvoObservations.append(self.progress.observe(\.localizedAdditionalDescription) { [weak self] _, _ in
     |                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1133 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1134 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1132:111: error: cannot infer type of closure parameter '_' without a type annotation
1130 |             })
1131 |
1132 |             self.kvoObservations.append(self.progress.observe(\.localizedAdditionalDescription) { [weak self] _, _ in
     |                                                                                                               `- error: cannot infer type of closure parameter '_' without a type annotation
1133 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1134 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1132:114: error: cannot infer type of closure parameter '_' without a type annotation
1130 |             })
1131 |
1132 |             self.kvoObservations.append(self.progress.observe(\.localizedAdditionalDescription) { [weak self] _, _ in
     |                                                                                                                  `- error: cannot infer type of closure parameter '_' without a type annotation
1133 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1134 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1221:13: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1219 |             self.progress = progress
1220 |
1221 |             super.init(parent: nil, userInfo: nil)
     |             `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1222 |
1223 |             // Directly access the primitive accessors, because this class will only be created while already protected by the semaphore.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1221:32: error: 'nil' requires a contextual type
1219 |             self.progress = progress
1220 |
1221 |             super.init(parent: nil, userInfo: nil)
     |                                `- error: 'nil' requires a contextual type
1222 |
1223 |             // Directly access the primitive accessors, because this class will only be created while already protected by the semaphore.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1221:47: error: 'nil' requires a contextual type
1219 |             self.progress = progress
1220 |
1221 |             super.init(parent: nil, userInfo: nil)
     |                                               `- error: 'nil' requires a contextual type
1222 |
1223 |             // Directly access the primitive accessors, because this class will only be created while already protected by the semaphore.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1224:13: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1222 |
1223 |             // Directly access the primitive accessors, because this class will only be created while already protected by the semaphore.
1224 |             super.totalUnitCount = progress.backing.totalUnitCount
     |             `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1225 |             super.completedUnitCount = progress.backing.completedUnitCount
1226 |             super.localizedDescription = progress.backing.localizedDescription
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1225:13: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1223 |             // Directly access the primitive accessors, because this class will only be created while already protected by the semaphore.
1224 |             super.totalUnitCount = progress.backing.totalUnitCount
1225 |             super.completedUnitCount = progress.backing.completedUnitCount
     |             `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1226 |             super.localizedDescription = progress.backing.localizedDescription
1227 |             super.localizedAdditionalDescription = progress.backing.localizedAdditionalDescription
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1226:13: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1224 |             super.totalUnitCount = progress.backing.totalUnitCount
1225 |             super.completedUnitCount = progress.backing.completedUnitCount
1226 |             super.localizedDescription = progress.backing.localizedDescription
     |             `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1227 |             super.localizedAdditionalDescription = progress.backing.localizedAdditionalDescription
1228 |             if progress.backing.isCancelled { super.cancel() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1227:13: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1225 |             super.completedUnitCount = progress.backing.completedUnitCount
1226 |             super.localizedDescription = progress.backing.localizedDescription
1227 |             super.localizedAdditionalDescription = progress.backing.localizedAdditionalDescription
     |             `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1228 |             if progress.backing.isCancelled { super.cancel() }
1229 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1228:47: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1226 |             super.localizedDescription = progress.backing.localizedDescription
1227 |             super.localizedAdditionalDescription = progress.backing.localizedAdditionalDescription
1228 |             if progress.backing.isCancelled { super.cancel() }
     |                                               `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1229 |
1230 |             // Register notifications on the underlying CSProgress, to update our properties.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1233:17: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1231 |
1232 |             self.fractionCompletedIdentifier = progress._addFractionCompletedNotification(onQueue: queue) { completed, total, _ in
1233 |                 super.completedUnitCount = completed
     |                 `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1234 |                 super.totalUnitCount = total
1235 |             }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1234:17: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1232 |             self.fractionCompletedIdentifier = progress._addFractionCompletedNotification(onQueue: queue) { completed, total, _ in
1233 |                 super.completedUnitCount = completed
1234 |                 super.totalUnitCount = total
     |                 `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1235 |             }
1236 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1238:17: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1236 |
1237 |             self.descriptionIdentifier = progress._addDescriptionNotification(onQueue: queue) { desc, aDesc in
1238 |                 super.localizedDescription = desc
     |                 `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1239 |                 super.localizedAdditionalDescription = aDesc
1240 |             }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1239:17: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1237 |             self.descriptionIdentifier = progress._addDescriptionNotification(onQueue: queue) { desc, aDesc in
1238 |                 super.localizedDescription = desc
1239 |                 super.localizedAdditionalDescription = aDesc
     |                 `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1240 |             }
1241 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1243:17: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1241 |
1242 |             self.cancellationIdentifier = progress._addCancellationNotification(onQueue: queue) {
1243 |                 super.cancel()
     |                 `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1244 |             }
1245 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1328:30: error: extra arguments at positions #1, #5 in call
 195 |      Default value is 0.01.
 196 |      */
 197 |     public init<Total: BinaryInteger, Pending: BinaryInteger>(totalUnitCount: Total, parent: CSProgress?, pendingUnitCount: Pending, granularity: Double = CSProgress.defaultGranularity) {
     |            `- note: 'init(totalUnitCount:parent:pendingUnitCount:granularity:)' declared here
 198 |         self.backing = .swift(SwiftBacking(totalUnitCount: UnitCount(totalUnitCount)))
 199 |         self.parent = parent
     :
1326 |             return bridgedProgress
1327 |         } else {
1328 |             return CSProgress(wrappedNSProgress: ns, parent: nil, pendingUnitCount: 0, granularity: granularity, queue: queue)
     |                              `- error: extra arguments at positions #1, #5 in call
1329 |         }
1330 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1328:31: error: missing argument for parameter 'totalUnitCount' in call
 195 |      Default value is 0.01.
 196 |      */
 197 |     public init<Total: BinaryInteger, Pending: BinaryInteger>(totalUnitCount: Total, parent: CSProgress?, pendingUnitCount: Pending, granularity: Double = CSProgress.defaultGranularity) {
     |            `- note: 'init(totalUnitCount:parent:pendingUnitCount:granularity:)' declared here
 198 |         self.backing = .swift(SwiftBacking(totalUnitCount: UnitCount(totalUnitCount)))
 199 |         self.parent = parent
     :
1326 |             return bridgedProgress
1327 |         } else {
1328 |             return CSProgress(wrappedNSProgress: ns, parent: nil, pendingUnitCount: 0, granularity: granularity, queue: queue)
     |                               `- error: missing argument for parameter 'totalUnitCount' in call
1329 |         }
1330 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module CSProgress
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:210:35: error: cannot find 'DispatchSemaphore' in scope
 208 |
 209 |     // The access semaphore, allowing us to be thread-safe. A semaphore was chosen, because it performs better here than an NSLock or a dispatch queue.
 210 |     private var accessSemaphore = DispatchSemaphore(value: 1)
     |                                   `- error: cannot find 'DispatchSemaphore' in scope
 211 |
 212 |     // The parent progress object.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:409:20: error: cannot find type 'OperationQueue' in scope
 407 |     private struct CancellationNotificationWrapper {
 408 |         let notification: CancellationNotification
 409 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 410 |     }
 411 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:414:20: error: cannot find type 'OperationQueue' in scope
 412 |     private struct FractionCompletedNotificationWrapper {
 413 |         let notification: FractionCompletedNotification
 414 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 415 |     }
 416 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:419:20: error: cannot find type 'OperationQueue' in scope
 417 |     private struct DescriptionNotificationWrapper {
 418 |         let notification: DescriptionNotification
 419 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 420 |     }
 421 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:429:62: error: cannot find type 'OperationQueue' in scope
 427 |     // The add...Notification() methods return an identifier which can be later sent to remove...Notification() to remove the notification.
 428 |
 429 |     private func _addCancellationNotification(onQueue queue: OperationQueue, notification: @escaping CancellationNotification) -> Any {
     |                                                              `- error: cannot find type 'OperationQueue' in scope
 430 |         let uuid = UUID()
 431 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:453:60: error: cannot find type 'OperationQueue' in scope
 451 |      - returns: An opaque value that can be passed to removeCancellationNotification() to de-register the notification.
 452 |      */
 453 |     public func addCancellationNotification(onQueue queue: OperationQueue = .main, notification: @escaping CancellationNotification) -> Any {
     |                                                            `- error: cannot find type 'OperationQueue' in scope
 454 |         self.accessSemaphore.wait()
 455 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:478:67: error: cannot find type 'OperationQueue' in scope
 476 |     }
 477 |
 478 |     private func _addFractionCompletedNotification(onQueue queue: OperationQueue, notification: @escaping FractionCompletedNotification) -> Any {
     |                                                                   `- error: cannot find type 'OperationQueue' in scope
 479 |         let uuid = UUID()
 480 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:499:84: error: cannot find type 'OperationQueue' in scope
 497 |      - returns: An opaque value that can be passed to removeFractionCompletedNotification() to de-register the notification.
 498 |      */
 499 |     @discardableResult public func addFractionCompletedNotification(onQueue queue: OperationQueue = .main, notification: @escaping FractionCompletedNotification) -> Any {
     |                                                                                    `- error: cannot find type 'OperationQueue' in scope
 500 |         self.accessSemaphore.wait()
 501 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:524:61: error: cannot find type 'OperationQueue' in scope
 522 |     }
 523 |
 524 |     private func _addDescriptionNotification(onQueue queue: OperationQueue, notification: @escaping DescriptionNotification) -> Any {
     |                                                             `- error: cannot find type 'OperationQueue' in scope
 525 |         let uuid = UUID()
 526 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:545:78: error: cannot find type 'OperationQueue' in scope
 543 |      - returns: An opaque value that can be passed to removeDescriptionNotification() to de-register the notification.
 544 |      */
 545 |     @discardableResult public func addDescriptionNotification(onQueue queue: OperationQueue = .main, notification: @escaping DescriptionNotification) -> Any {
     |                                                                              `- error: cannot find type 'OperationQueue' in scope
 546 |         self.accessSemaphore.wait()
 547 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:715:134: error: cannot find type 'OperationQueue' in scope
 713 |      This parameter defaults to the main operation queue.
 714 |      */
 715 |     public convenience init<Count: BinaryInteger>(totalUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                                                                                      `- error: cannot find type 'OperationQueue' in scope
 716 |         if let parentRef = CSProgress._current {
 717 |             let parent = parentRef.progress
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:749:99: error: cannot find type 'OperationQueue' in scope
 747 |      This parameter defaults to the main operation queue.
 748 |      */
 749 |     public func becomeCurrent<Count: BinaryInteger>(withPendingUnitCount unitCount: Count, queue: OperationQueue = .main) {
     |                                                                                                   `- error: cannot find type 'OperationQueue' in scope
 750 |         CSProgress._current = ParentReference(progress: self, pendingUnitCount: UnitCount(unitCount))
 751 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:959:35: error: no type named 'Progress' in module 'Foundation'
 957 |         private var isUpdatingKey: pthread_key_t = 0
 958 |
 959 |         init(progress: Foundation.Progress, queue: OperationQueue) {
     |                                   `- error: no type named 'Progress' in module 'Foundation'
 960 |             self.progress = progress
 961 |             self.queue = queue
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:959:52: error: cannot find type 'OperationQueue' in scope
 957 |         private var isUpdatingKey: pthread_key_t = 0
 958 |
 959 |         init(progress: Foundation.Progress, queue: OperationQueue) {
     |                                                    `- error: cannot find type 'OperationQueue' in scope
 960 |             self.progress = progress
 961 |             self.queue = queue
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:954:34: error: no type named 'Progress' in module 'Foundation'
 952 |     // The backing for a CSProgress wrapping an NSProgress.
 953 |     private final class ObjectiveCBacking: NSObject {
 954 |         let progress: Foundation.Progress
     |                                  `- error: no type named 'Progress' in module 'Foundation'
 955 |         let queue: OperationQueue
 956 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:955:20: error: cannot find type 'OperationQueue' in scope
 953 |     private final class ObjectiveCBacking: NSObject {
 954 |         let progress: Foundation.Progress
 955 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 956 |
 957 |         private var isUpdatingKey: pthread_key_t = 0
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1102:39: error: cannot find type 'NSKeyValueObservation' in scope
1100 |         }
1101 |
1102 |         private var kvoObservations: [NSKeyValueObservation] = []
     |                                       `- error: cannot find type 'NSKeyValueObservation' in scope
1103 |
1104 |         private func startWatching() {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1169:70: error: no type named 'Progress' in module 'Foundation'
1167 |      This parameter defaults to the main operation queue.
1168 |      */
1169 |     private init<Count: BinaryInteger>(wrappedNSProgress: Foundation.Progress, parent: CSProgress?, pendingUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                      `- error: no type named 'Progress' in module 'Foundation'
1170 |         let backing = ObjectiveCBacking(progress: wrappedNSProgress, queue: queue)
1171 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1169:186: error: cannot find type 'OperationQueue' in scope
1167 |      This parameter defaults to the main operation queue.
1168 |      */
1169 |     private init<Count: BinaryInteger>(wrappedNSProgress: Foundation.Progress, parent: CSProgress?, pendingUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                                                                                                                                          `- error: cannot find type 'OperationQueue' in scope
1170 |         let backing = ObjectiveCBacking(progress: wrappedNSProgress, queue: queue)
1171 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1211:55: error: no type named 'Progress' in module 'Foundation'
1209 |
1210 |     // An NSProgress subclass that wraps a CSProgress.
1211 |     private final class BridgedNSProgress: Foundation.Progress {
     |                                                       `- error: no type named 'Progress' in module 'Foundation'
1212 |         private(set) weak var progress: CSProgress?
1213 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1218:43: error: cannot find type 'OperationQueue' in scope
1216 |         private var cancellationIdentifier: Any?
1217 |
1218 |         init(progress: CSProgress, queue: OperationQueue = .main) {
     |                                           `- error: cannot find type 'OperationQueue' in scope
1219 |             self.progress = progress
1220 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1253:22: error: property does not override any property from its superclass
1251 |         }
1252 |
1253 |         override var totalUnitCount: Int64 {
     |                      `- error: property does not override any property from its superclass
1254 |             didSet { self.progress?.totalUnitCount = UnitCount(self.totalUnitCount) }
1255 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1257:22: error: property does not override any property from its superclass
1255 |         }
1256 |
1257 |         override var completedUnitCount: Int64 {
     |                      `- error: property does not override any property from its superclass
1258 |             didSet { self.progress?.completedUnitCount = UnitCount(self.completedUnitCount) }
1259 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1261:22: error: property does not override any property from its superclass
1259 |         }
1260 |
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
     |                      `- error: property does not override any property from its superclass
1262 |
1263 |         override var localizedDescription: String! {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1263:22: error: property does not override any property from its superclass
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
1262 |
1263 |         override var localizedDescription: String! {
     |                      `- error: property does not override any property from its superclass
1264 |             didSet { self.progress?.localizedDescription = self.localizedDescription }
1265 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1267:22: error: property does not override any property from its superclass
1265 |         }
1266 |
1267 |         override var localizedAdditionalDescription: String! {
     |                      `- error: property does not override any property from its superclass
1268 |             didSet { self.progress?.localizedAdditionalDescription = self.localizedAdditionalDescription }
1269 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1272:47: error: no type named 'Progress' in module 'Foundation'
1270 |     }
1271 |
1272 |     private var bridgedNSProgress: Foundation.Progress?
     |                                               `- error: no type named 'Progress' in module 'Foundation'
1273 |
1274 |     /**
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1283:81: error: no type named 'Progress' in module 'Foundation'
1281 |      Defaults to the main operation queue.
1282 |      */
1283 |     public func bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                                                                 `- error: no type named 'Progress' in module 'Foundation'
1284 |         self.accessSemaphore.wait()
1285 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1283:43: error: cannot find type 'OperationQueue' in scope
1281 |      Defaults to the main operation queue.
1282 |      */
1283 |     public func bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                           `- error: cannot find type 'OperationQueue' in scope
1284 |         self.accessSemaphore.wait()
1285 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1290:83: error: no type named 'Progress' in module 'Foundation'
1288 |     }
1289 |
1290 |     private func _bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                                                                   `- error: no type named 'Progress' in module 'Foundation'
1291 |         // If we're wrapping an NSProgress, return that. Otherwise wrap ourselves in a BridgedNSProgress.
1292 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1290:45: error: cannot find type 'OperationQueue' in scope
1288 |     }
1289 |
1290 |     private func _bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                             `- error: cannot find type 'OperationQueue' in scope
1291 |         // If we're wrapping an NSProgress, return that. Otherwise wrap ourselves in a BridgedNSProgress.
1292 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1322:51: error: no type named 'Progress' in module 'Foundation'
1320 |      Defaults to the main operation queue.
1321 |      */
1322 |     public static func bridge(from ns: Foundation.Progress, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) -> CSProgress {
     |                                                   `- error: no type named 'Progress' in module 'Foundation'
1323 |         // If it's wrapping a CSProgress, return that. Otherwise, wrap that sucker
1324 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1322:121: error: cannot find type 'OperationQueue' in scope
1320 |      Defaults to the main operation queue.
1321 |      */
1322 |     public static func bridge(from ns: Foundation.Progress, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) -> CSProgress {
     |                                                                                                                         `- error: cannot find type 'OperationQueue' in scope
1323 |         // If it's wrapping a CSProgress, return that. Otherwise, wrap that sucker
1324 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1334:51: error: no type named 'Progress' in module 'Foundation'
1332 |
1333 | extension CSProgress: _ObjectiveCBridgeable {
1334 |     public typealias _ObjectiveCType = Foundation.Progress
     |                                                   `- error: no type named 'Progress' in module 'Foundation'
1335 |
1336 |     public func _bridgeToObjectiveC() -> Foundation.Progress {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1336:53: error: no type named 'Progress' in module 'Foundation'
1334 |     public typealias _ObjectiveCType = Foundation.Progress
1335 |
1336 |     public func _bridgeToObjectiveC() -> Foundation.Progress {
     |                                                     `- error: no type named 'Progress' in module 'Foundation'
1337 |         return self.bridgeToNSProgress()
1338 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1340:68: error: no type named 'Progress' in module 'Foundation'
1338 |     }
1339 |
1340 |     public static func _forceBridgeFromObjectiveC(_ ns: Foundation.Progress, result: inout CSProgress?) {
     |                                                                    `- error: no type named 'Progress' in module 'Foundation'
1341 |         result = self.bridge(from: ns)
1342 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1344:76: error: no type named 'Progress' in module 'Foundation'
1342 |     }
1343 |
1344 |     public static func _conditionallyBridgeFromObjectiveC(_ ns: Foundation.Progress, result: inout CSProgress?) -> Bool {
     |                                                                            `- error: no type named 'Progress' in module 'Foundation'
1345 |         result = self.bridge(from: ns)
1346 |         return true
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1349:78: error: no type named 'Progress' in module 'Foundation'
1347 |     }
1348 |
1349 |     public static func _unconditionallyBridgeFromObjectiveC(_ ns: Foundation.Progress?) -> CSProgress {
     |                                                                              `- error: no type named 'Progress' in module 'Foundation'
1350 |         return self.bridge(from: ns!)
1351 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1333:1: error: type 'CSProgress' does not conform to protocol '_ObjectiveCBridgeable'
1331 | }
1332 |
1333 | extension CSProgress: _ObjectiveCBridgeable {
     | |- error: type 'CSProgress' does not conform to protocol '_ObjectiveCBridgeable'
     | `- note: add stubs for conformance
1334 |     public typealias _ObjectiveCType = Foundation.Progress
1335 |
Swift._ObjectiveCBridgeable._ObjectiveCType:2:16: note: protocol requires nested type '_ObjectiveCType'
1 | protocol _ObjectiveCBridgeable {
2 | associatedtype _ObjectiveCType : AnyObject}
  |                `- note: protocol requires nested type '_ObjectiveCType'
3 |
[3/7] Compiling CSProgress CSProgress.swift
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:210:35: error: cannot find 'DispatchSemaphore' in scope
 208 |
 209 |     // The access semaphore, allowing us to be thread-safe. A semaphore was chosen, because it performs better here than an NSLock or a dispatch queue.
 210 |     private var accessSemaphore = DispatchSemaphore(value: 1)
     |                                   `- error: cannot find 'DispatchSemaphore' in scope
 211 |
 212 |     // The parent progress object.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:409:20: error: cannot find type 'OperationQueue' in scope
 407 |     private struct CancellationNotificationWrapper {
 408 |         let notification: CancellationNotification
 409 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 410 |     }
 411 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:414:20: error: cannot find type 'OperationQueue' in scope
 412 |     private struct FractionCompletedNotificationWrapper {
 413 |         let notification: FractionCompletedNotification
 414 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 415 |     }
 416 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:419:20: error: cannot find type 'OperationQueue' in scope
 417 |     private struct DescriptionNotificationWrapper {
 418 |         let notification: DescriptionNotification
 419 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 420 |     }
 421 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:429:62: error: cannot find type 'OperationQueue' in scope
 427 |     // The add...Notification() methods return an identifier which can be later sent to remove...Notification() to remove the notification.
 428 |
 429 |     private func _addCancellationNotification(onQueue queue: OperationQueue, notification: @escaping CancellationNotification) -> Any {
     |                                                              `- error: cannot find type 'OperationQueue' in scope
 430 |         let uuid = UUID()
 431 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:453:60: error: cannot find type 'OperationQueue' in scope
 451 |      - returns: An opaque value that can be passed to removeCancellationNotification() to de-register the notification.
 452 |      */
 453 |     public func addCancellationNotification(onQueue queue: OperationQueue = .main, notification: @escaping CancellationNotification) -> Any {
     |                                                            `- error: cannot find type 'OperationQueue' in scope
 454 |         self.accessSemaphore.wait()
 455 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:478:67: error: cannot find type 'OperationQueue' in scope
 476 |     }
 477 |
 478 |     private func _addFractionCompletedNotification(onQueue queue: OperationQueue, notification: @escaping FractionCompletedNotification) -> Any {
     |                                                                   `- error: cannot find type 'OperationQueue' in scope
 479 |         let uuid = UUID()
 480 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:499:84: error: cannot find type 'OperationQueue' in scope
 497 |      - returns: An opaque value that can be passed to removeFractionCompletedNotification() to de-register the notification.
 498 |      */
 499 |     @discardableResult public func addFractionCompletedNotification(onQueue queue: OperationQueue = .main, notification: @escaping FractionCompletedNotification) -> Any {
     |                                                                                    `- error: cannot find type 'OperationQueue' in scope
 500 |         self.accessSemaphore.wait()
 501 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:524:61: error: cannot find type 'OperationQueue' in scope
 522 |     }
 523 |
 524 |     private func _addDescriptionNotification(onQueue queue: OperationQueue, notification: @escaping DescriptionNotification) -> Any {
     |                                                             `- error: cannot find type 'OperationQueue' in scope
 525 |         let uuid = UUID()
 526 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:545:78: error: cannot find type 'OperationQueue' in scope
 543 |      - returns: An opaque value that can be passed to removeDescriptionNotification() to de-register the notification.
 544 |      */
 545 |     @discardableResult public func addDescriptionNotification(onQueue queue: OperationQueue = .main, notification: @escaping DescriptionNotification) -> Any {
     |                                                                              `- error: cannot find type 'OperationQueue' in scope
 546 |         self.accessSemaphore.wait()
 547 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:715:134: error: cannot find type 'OperationQueue' in scope
 713 |      This parameter defaults to the main operation queue.
 714 |      */
 715 |     public convenience init<Count: BinaryInteger>(totalUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                                                                                      `- error: cannot find type 'OperationQueue' in scope
 716 |         if let parentRef = CSProgress._current {
 717 |             let parent = parentRef.progress
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:749:99: error: cannot find type 'OperationQueue' in scope
 747 |      This parameter defaults to the main operation queue.
 748 |      */
 749 |     public func becomeCurrent<Count: BinaryInteger>(withPendingUnitCount unitCount: Count, queue: OperationQueue = .main) {
     |                                                                                                   `- error: cannot find type 'OperationQueue' in scope
 750 |         CSProgress._current = ParentReference(progress: self, pendingUnitCount: UnitCount(unitCount))
 751 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:959:35: error: no type named 'Progress' in module 'Foundation'
 957 |         private var isUpdatingKey: pthread_key_t = 0
 958 |
 959 |         init(progress: Foundation.Progress, queue: OperationQueue) {
     |                                   `- error: no type named 'Progress' in module 'Foundation'
 960 |             self.progress = progress
 961 |             self.queue = queue
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:959:52: error: cannot find type 'OperationQueue' in scope
 957 |         private var isUpdatingKey: pthread_key_t = 0
 958 |
 959 |         init(progress: Foundation.Progress, queue: OperationQueue) {
     |                                                    `- error: cannot find type 'OperationQueue' in scope
 960 |             self.progress = progress
 961 |             self.queue = queue
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:954:34: error: no type named 'Progress' in module 'Foundation'
 952 |     // The backing for a CSProgress wrapping an NSProgress.
 953 |     private final class ObjectiveCBacking: NSObject {
 954 |         let progress: Foundation.Progress
     |                                  `- error: no type named 'Progress' in module 'Foundation'
 955 |         let queue: OperationQueue
 956 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:955:20: error: cannot find type 'OperationQueue' in scope
 953 |     private final class ObjectiveCBacking: NSObject {
 954 |         let progress: Foundation.Progress
 955 |         let queue: OperationQueue
     |                    `- error: cannot find type 'OperationQueue' in scope
 956 |
 957 |         private var isUpdatingKey: pthread_key_t = 0
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1102:39: error: cannot find type 'NSKeyValueObservation' in scope
1100 |         }
1101 |
1102 |         private var kvoObservations: [NSKeyValueObservation] = []
     |                                       `- error: cannot find type 'NSKeyValueObservation' in scope
1103 |
1104 |         private func startWatching() {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1169:70: error: no type named 'Progress' in module 'Foundation'
1167 |      This parameter defaults to the main operation queue.
1168 |      */
1169 |     private init<Count: BinaryInteger>(wrappedNSProgress: Foundation.Progress, parent: CSProgress?, pendingUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                      `- error: no type named 'Progress' in module 'Foundation'
1170 |         let backing = ObjectiveCBacking(progress: wrappedNSProgress, queue: queue)
1171 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1169:186: error: cannot find type 'OperationQueue' in scope
1167 |      This parameter defaults to the main operation queue.
1168 |      */
1169 |     private init<Count: BinaryInteger>(wrappedNSProgress: Foundation.Progress, parent: CSProgress?, pendingUnitCount: Count, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) {
     |                                                                                                                                                                                          `- error: cannot find type 'OperationQueue' in scope
1170 |         let backing = ObjectiveCBacking(progress: wrappedNSProgress, queue: queue)
1171 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1211:55: error: no type named 'Progress' in module 'Foundation'
1209 |
1210 |     // An NSProgress subclass that wraps a CSProgress.
1211 |     private final class BridgedNSProgress: Foundation.Progress {
     |                                                       `- error: no type named 'Progress' in module 'Foundation'
1212 |         private(set) weak var progress: CSProgress?
1213 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1218:43: error: cannot find type 'OperationQueue' in scope
1216 |         private var cancellationIdentifier: Any?
1217 |
1218 |         init(progress: CSProgress, queue: OperationQueue = .main) {
     |                                           `- error: cannot find type 'OperationQueue' in scope
1219 |             self.progress = progress
1220 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1253:22: error: property does not override any property from its superclass
1251 |         }
1252 |
1253 |         override var totalUnitCount: Int64 {
     |                      `- error: property does not override any property from its superclass
1254 |             didSet { self.progress?.totalUnitCount = UnitCount(self.totalUnitCount) }
1255 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1257:22: error: property does not override any property from its superclass
1255 |         }
1256 |
1257 |         override var completedUnitCount: Int64 {
     |                      `- error: property does not override any property from its superclass
1258 |             didSet { self.progress?.completedUnitCount = UnitCount(self.completedUnitCount) }
1259 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1261:22: error: property does not override any property from its superclass
1259 |         }
1260 |
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
     |                      `- error: property does not override any property from its superclass
1262 |
1263 |         override var localizedDescription: String! {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1263:22: error: property does not override any property from its superclass
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
1262 |
1263 |         override var localizedDescription: String! {
     |                      `- error: property does not override any property from its superclass
1264 |             didSet { self.progress?.localizedDescription = self.localizedDescription }
1265 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1267:22: error: property does not override any property from its superclass
1265 |         }
1266 |
1267 |         override var localizedAdditionalDescription: String! {
     |                      `- error: property does not override any property from its superclass
1268 |             didSet { self.progress?.localizedAdditionalDescription = self.localizedAdditionalDescription }
1269 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1272:47: error: no type named 'Progress' in module 'Foundation'
1270 |     }
1271 |
1272 |     private var bridgedNSProgress: Foundation.Progress?
     |                                               `- error: no type named 'Progress' in module 'Foundation'
1273 |
1274 |     /**
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1283:81: error: no type named 'Progress' in module 'Foundation'
1281 |      Defaults to the main operation queue.
1282 |      */
1283 |     public func bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                                                                 `- error: no type named 'Progress' in module 'Foundation'
1284 |         self.accessSemaphore.wait()
1285 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1283:43: error: cannot find type 'OperationQueue' in scope
1281 |      Defaults to the main operation queue.
1282 |      */
1283 |     public func bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                           `- error: cannot find type 'OperationQueue' in scope
1284 |         self.accessSemaphore.wait()
1285 |         defer { self.accessSemaphore.signal() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1290:83: error: no type named 'Progress' in module 'Foundation'
1288 |     }
1289 |
1290 |     private func _bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                                                                   `- error: no type named 'Progress' in module 'Foundation'
1291 |         // If we're wrapping an NSProgress, return that. Otherwise wrap ourselves in a BridgedNSProgress.
1292 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1290:45: error: cannot find type 'OperationQueue' in scope
1288 |     }
1289 |
1290 |     private func _bridgeToNSProgress(queue: OperationQueue = .main) -> Foundation.Progress {
     |                                             `- error: cannot find type 'OperationQueue' in scope
1291 |         // If we're wrapping an NSProgress, return that. Otherwise wrap ourselves in a BridgedNSProgress.
1292 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1322:51: error: no type named 'Progress' in module 'Foundation'
1320 |      Defaults to the main operation queue.
1321 |      */
1322 |     public static func bridge(from ns: Foundation.Progress, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) -> CSProgress {
     |                                                   `- error: no type named 'Progress' in module 'Foundation'
1323 |         // If it's wrapping a CSProgress, return that. Otherwise, wrap that sucker
1324 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1322:121: error: cannot find type 'OperationQueue' in scope
1320 |      Defaults to the main operation queue.
1321 |      */
1322 |     public static func bridge(from ns: Foundation.Progress, granularity: Double = CSProgress.defaultGranularity, queue: OperationQueue = .main) -> CSProgress {
     |                                                                                                                         `- error: cannot find type 'OperationQueue' in scope
1323 |         // If it's wrapping a CSProgress, return that. Otherwise, wrap that sucker
1324 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1334:51: error: no type named 'Progress' in module 'Foundation'
1332 |
1333 | extension CSProgress: _ObjectiveCBridgeable {
1334 |     public typealias _ObjectiveCType = Foundation.Progress
     |                                                   `- error: no type named 'Progress' in module 'Foundation'
1335 |
1336 |     public func _bridgeToObjectiveC() -> Foundation.Progress {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1336:53: error: no type named 'Progress' in module 'Foundation'
1334 |     public typealias _ObjectiveCType = Foundation.Progress
1335 |
1336 |     public func _bridgeToObjectiveC() -> Foundation.Progress {
     |                                                     `- error: no type named 'Progress' in module 'Foundation'
1337 |         return self.bridgeToNSProgress()
1338 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1340:68: error: no type named 'Progress' in module 'Foundation'
1338 |     }
1339 |
1340 |     public static func _forceBridgeFromObjectiveC(_ ns: Foundation.Progress, result: inout CSProgress?) {
     |                                                                    `- error: no type named 'Progress' in module 'Foundation'
1341 |         result = self.bridge(from: ns)
1342 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1344:76: error: no type named 'Progress' in module 'Foundation'
1342 |     }
1343 |
1344 |     public static func _conditionallyBridgeFromObjectiveC(_ ns: Foundation.Progress, result: inout CSProgress?) -> Bool {
     |                                                                            `- error: no type named 'Progress' in module 'Foundation'
1345 |         result = self.bridge(from: ns)
1346 |         return true
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1349:78: error: no type named 'Progress' in module 'Foundation'
1347 |     }
1348 |
1349 |     public static func _unconditionallyBridgeFromObjectiveC(_ ns: Foundation.Progress?) -> CSProgress {
     |                                                                              `- error: no type named 'Progress' in module 'Foundation'
1350 |         return self.bridge(from: ns!)
1351 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1333:1: error: type 'CSProgress' does not conform to protocol '_ObjectiveCBridgeable'
1331 | }
1332 |
1333 | extension CSProgress: _ObjectiveCBridgeable {
     | |- error: type 'CSProgress' does not conform to protocol '_ObjectiveCBridgeable'
     | `- note: add stubs for conformance
1334 |     public typealias _ObjectiveCType = Foundation.Progress
1335 |
Swift._ObjectiveCBridgeable._ObjectiveCType:2:16: note: protocol requires nested type '_ObjectiveCType'
1 | protocol _ObjectiveCBridgeable {
2 | associatedtype _ObjectiveCType : AnyObject}
  |                `- note: protocol requires nested type '_ObjectiveCType'
3 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:404:33: error: cannot find 'DispatchSemaphore' in scope
 402 |         self.backing.removeChild(child)
 403 |         child.parent = nil
 404 |         child.accessSemaphore = DispatchSemaphore(value: 1)
     |                                 `- error: cannot find 'DispatchSemaphore' in scope
 405 |     }
 406 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:686:20: error: cannot find 'Thread' in scope
 684 |     private static var _current: ParentReference? {
 685 |         get {
 686 |             return Thread.current.threadDictionary.object(forKey: self.currentProgressKey) as? ParentReference
     |                    `- error: cannot find 'Thread' in scope
 687 |         }
 688 |         set {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:690:17: error: cannot find 'Thread' in scope
 688 |         set {
 689 |             if let parentRef = newValue {
 690 |                 Thread.current.threadDictionary.setObject(parentRef, forKey: self.currentProgressKey as NSString)
     |                 `- error: cannot find 'Thread' in scope
 691 |             } else {
 692 |                 Thread.current.threadDictionary.removeObject(forKey: self.currentProgressKey)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:692:17: error: cannot find 'Thread' in scope
 690 |                 Thread.current.threadDictionary.setObject(parentRef, forKey: self.currentProgressKey as NSString)
 691 |             } else {
 692 |                 Thread.current.threadDictionary.removeObject(forKey: self.currentProgressKey)
     |                 `- error: cannot find 'Thread' in scope
 693 |             }
 694 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:724:19: error: module 'Foundation' has no member named 'Progress'
 722 |             // Prevent double-attaching
 723 |             parent.resignCurrent()
 724 |         } else if Foundation.Progress.current() != nil {
     |                   `- error: module 'Foundation' has no member named 'Progress'
 725 |             // We have no way of knowing the current progress's pending unit count, so put a shim in between it and us
 726 |             let shim = Foundation.Progress(totalUnitCount: 1)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:726:24: error: module 'Foundation' has no member named 'Progress'
 724 |         } else if Foundation.Progress.current() != nil {
 725 |             // We have no way of knowing the current progress's pending unit count, so put a shim in between it and us
 726 |             let shim = Foundation.Progress(totalUnitCount: 1)
     |                        `- error: module 'Foundation' has no member named 'Progress'
 727 |
 728 |             let parent = CSProgress.bridge(from: shim, queue: queue)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:752:28: error: no type named 'Progress' in module 'Foundation'
 750 |         CSProgress._current = ParentReference(progress: self, pendingUnitCount: UnitCount(unitCount))
 751 |
 752 |         let ns: Foundation.Progress = {
     |                            `- error: no type named 'Progress' in module 'Foundation'
 753 |             switch self.backing {
 754 |             case .swift:
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:779:28: error: module 'Foundation' has no member named 'Progress'
 777 |         }
 778 |
 779 |         if let currentNS = Foundation.Progress.current() {
     |                            `- error: module 'Foundation' has no member named 'Progress'
 780 |             switch self.backing {
 781 |             case let .swift(backing):
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:972:13: error: cannot find 'pthread_key_create' in scope
 970 |             // reasons.
 971 |
 972 |             pthread_key_create(&self.isUpdatingKey) {
     |             `- error: cannot find 'pthread_key_create' in scope
 973 |                 let ptr = $0.bindMemory(to: Bool.self, capacity: 1)
 974 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:990:24: error: cannot find 'pthread_getspecific' in scope
 988 |         private var isUpdating: Bool {
 989 |             get {
 990 |                 return pthread_getspecific(self.isUpdatingKey)?.bindMemory(to: Bool.self, capacity: 1).pointee ?? false
     |                        `- error: cannot find 'pthread_getspecific' in scope
 991 |             }
 992 |             set {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:993:30: error: cannot find 'pthread_getspecific' in scope
 991 |             }
 992 |             set {
 993 |                 if let ptr = pthread_getspecific(self.isUpdatingKey)?.bindMemory(to: Bool.self, capacity: 1) {
     |                              `- error: cannot find 'pthread_getspecific' in scope
 994 |                     ptr.pointee = newValue
 995 |                 } else {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:999:21: error: cannot find 'pthread_setspecific' in scope
 997 |                     ptr.initialize(to: newValue)
 998 |
 999 |                     pthread_setspecific(self.isUpdatingKey, ptr)
     |                     `- error: cannot find 'pthread_setspecific' in scope
1000 |                 }
1001 |             }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1082:28: error: module 'Foundation' has no member named 'Progress'
1080 |                 // FIXME: this has not been tested yet.
1081 |                 self.progress.becomeCurrent(withPendingUnitCount: Int64(pendingUnitCount))
1082 |                 let shim = Foundation.Progress(totalUnitCount: 1)
     |                            `- error: module 'Foundation' has no member named 'Progress'
1083 |                 self.progress.resignCurrent()
1084 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1108:63: error: cannot infer key path type from context; consider explicitly specifying a root type
1106 |             // ignore the notification or we'll just keep going back and forth forever.
1107 |
1108 |             self.kvoObservations.append(self.progress.observe(\.fractionCompleted) { [weak self] _, _ in
     |                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1109 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.fractionCompletedUpdatedHandler {
1110 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1108:98: error: cannot infer type of closure parameter '_' without a type annotation
1106 |             // ignore the notification or we'll just keep going back and forth forever.
1107 |
1108 |             self.kvoObservations.append(self.progress.observe(\.fractionCompleted) { [weak self] _, _ in
     |                                                                                                  `- error: cannot infer type of closure parameter '_' without a type annotation
1109 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.fractionCompletedUpdatedHandler {
1110 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1108:101: error: cannot infer type of closure parameter '_' without a type annotation
1106 |             // ignore the notification or we'll just keep going back and forth forever.
1107 |
1108 |             self.kvoObservations.append(self.progress.observe(\.fractionCompleted) { [weak self] _, _ in
     |                                                                                                     `- error: cannot infer type of closure parameter '_' without a type annotation
1109 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.fractionCompletedUpdatedHandler {
1110 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1114:63: error: cannot infer key path type from context; consider explicitly specifying a root type
1112 |             })
1113 |
1114 |             self.kvoObservations.append(self.progress.observe(\.isIndeterminate) { [weak self] _, _ in
     |                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1115 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.indeterminateHandler {
1116 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1114:96: error: cannot infer type of closure parameter '_' without a type annotation
1112 |             })
1113 |
1114 |             self.kvoObservations.append(self.progress.observe(\.isIndeterminate) { [weak self] _, _ in
     |                                                                                                `- error: cannot infer type of closure parameter '_' without a type annotation
1115 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.indeterminateHandler {
1116 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1114:99: error: cannot infer type of closure parameter '_' without a type annotation
1112 |             })
1113 |
1114 |             self.kvoObservations.append(self.progress.observe(\.isIndeterminate) { [weak self] _, _ in
     |                                                                                                   `- error: cannot infer type of closure parameter '_' without a type annotation
1115 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.indeterminateHandler {
1116 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1120:63: error: cannot infer key path type from context; consider explicitly specifying a root type
1118 |             })
1119 |
1120 |             self.kvoObservations.append(self.progress.observe(\.isCancelled) { [weak self] _, _ in
     |                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1121 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.cancellationHandler {
1122 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1120:92: error: cannot infer type of closure parameter '_' without a type annotation
1118 |             })
1119 |
1120 |             self.kvoObservations.append(self.progress.observe(\.isCancelled) { [weak self] _, _ in
     |                                                                                            `- error: cannot infer type of closure parameter '_' without a type annotation
1121 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.cancellationHandler {
1122 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1120:95: error: cannot infer type of closure parameter '_' without a type annotation
1118 |             })
1119 |
1120 |             self.kvoObservations.append(self.progress.observe(\.isCancelled) { [weak self] _, _ in
     |                                                                                               `- error: cannot infer type of closure parameter '_' without a type annotation
1121 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.cancellationHandler {
1122 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1126:63: error: cannot infer key path type from context; consider explicitly specifying a root type
1124 |             })
1125 |
1126 |             self.kvoObservations.append(self.progress.observe(\.localizedDescription) { [weak self] _, _ in
     |                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1127 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1128 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1126:101: error: cannot infer type of closure parameter '_' without a type annotation
1124 |             })
1125 |
1126 |             self.kvoObservations.append(self.progress.observe(\.localizedDescription) { [weak self] _, _ in
     |                                                                                                     `- error: cannot infer type of closure parameter '_' without a type annotation
1127 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1128 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1126:104: error: cannot infer type of closure parameter '_' without a type annotation
1124 |             })
1125 |
1126 |             self.kvoObservations.append(self.progress.observe(\.localizedDescription) { [weak self] _, _ in
     |                                                                                                        `- error: cannot infer type of closure parameter '_' without a type annotation
1127 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1128 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1132:63: error: cannot infer key path type from context; consider explicitly specifying a root type
1130 |             })
1131 |
1132 |             self.kvoObservations.append(self.progress.observe(\.localizedAdditionalDescription) { [weak self] _, _ in
     |                                                               `- error: cannot infer key path type from context; consider explicitly specifying a root type
1133 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1134 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1132:111: error: cannot infer type of closure parameter '_' without a type annotation
1130 |             })
1131 |
1132 |             self.kvoObservations.append(self.progress.observe(\.localizedAdditionalDescription) { [weak self] _, _ in
     |                                                                                                               `- error: cannot infer type of closure parameter '_' without a type annotation
1133 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1134 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1132:114: error: cannot infer type of closure parameter '_' without a type annotation
1130 |             })
1131 |
1132 |             self.kvoObservations.append(self.progress.observe(\.localizedAdditionalDescription) { [weak self] _, _ in
     |                                                                                                                  `- error: cannot infer type of closure parameter '_' without a type annotation
1133 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1134 |                     sSelf.queue.addOperation(handler)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1221:13: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1219 |             self.progress = progress
1220 |
1221 |             super.init(parent: nil, userInfo: nil)
     |             `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1222 |
1223 |             // Directly access the primitive accessors, because this class will only be created while already protected by the semaphore.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1221:32: error: 'nil' requires a contextual type
1219 |             self.progress = progress
1220 |
1221 |             super.init(parent: nil, userInfo: nil)
     |                                `- error: 'nil' requires a contextual type
1222 |
1223 |             // Directly access the primitive accessors, because this class will only be created while already protected by the semaphore.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1221:47: error: 'nil' requires a contextual type
1219 |             self.progress = progress
1220 |
1221 |             super.init(parent: nil, userInfo: nil)
     |                                               `- error: 'nil' requires a contextual type
1222 |
1223 |             // Directly access the primitive accessors, because this class will only be created while already protected by the semaphore.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1224:13: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1222 |
1223 |             // Directly access the primitive accessors, because this class will only be created while already protected by the semaphore.
1224 |             super.totalUnitCount = progress.backing.totalUnitCount
     |             `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1225 |             super.completedUnitCount = progress.backing.completedUnitCount
1226 |             super.localizedDescription = progress.backing.localizedDescription
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1225:13: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1223 |             // Directly access the primitive accessors, because this class will only be created while already protected by the semaphore.
1224 |             super.totalUnitCount = progress.backing.totalUnitCount
1225 |             super.completedUnitCount = progress.backing.completedUnitCount
     |             `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1226 |             super.localizedDescription = progress.backing.localizedDescription
1227 |             super.localizedAdditionalDescription = progress.backing.localizedAdditionalDescription
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1226:13: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1224 |             super.totalUnitCount = progress.backing.totalUnitCount
1225 |             super.completedUnitCount = progress.backing.completedUnitCount
1226 |             super.localizedDescription = progress.backing.localizedDescription
     |             `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1227 |             super.localizedAdditionalDescription = progress.backing.localizedAdditionalDescription
1228 |             if progress.backing.isCancelled { super.cancel() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1227:13: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1225 |             super.completedUnitCount = progress.backing.completedUnitCount
1226 |             super.localizedDescription = progress.backing.localizedDescription
1227 |             super.localizedAdditionalDescription = progress.backing.localizedAdditionalDescription
     |             `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1228 |             if progress.backing.isCancelled { super.cancel() }
1229 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1228:47: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1226 |             super.localizedDescription = progress.backing.localizedDescription
1227 |             super.localizedAdditionalDescription = progress.backing.localizedAdditionalDescription
1228 |             if progress.backing.isCancelled { super.cancel() }
     |                                               `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1229 |
1230 |             // Register notifications on the underlying CSProgress, to update our properties.
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1233:17: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1231 |
1232 |             self.fractionCompletedIdentifier = progress._addFractionCompletedNotification(onQueue: queue) { completed, total, _ in
1233 |                 super.completedUnitCount = completed
     |                 `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1234 |                 super.totalUnitCount = total
1235 |             }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1234:17: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1232 |             self.fractionCompletedIdentifier = progress._addFractionCompletedNotification(onQueue: queue) { completed, total, _ in
1233 |                 super.completedUnitCount = completed
1234 |                 super.totalUnitCount = total
     |                 `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1235 |             }
1236 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1238:17: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1236 |
1237 |             self.descriptionIdentifier = progress._addDescriptionNotification(onQueue: queue) { desc, aDesc in
1238 |                 super.localizedDescription = desc
     |                 `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1239 |                 super.localizedAdditionalDescription = aDesc
1240 |             }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1239:17: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1237 |             self.descriptionIdentifier = progress._addDescriptionNotification(onQueue: queue) { desc, aDesc in
1238 |                 super.localizedDescription = desc
1239 |                 super.localizedAdditionalDescription = aDesc
     |                 `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1240 |             }
1241 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1243:17: error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1241 |
1242 |             self.cancellationIdentifier = progress._addCancellationNotification(onQueue: queue) {
1243 |                 super.cancel()
     |                 `- error: 'super' cannot be used in class 'BridgedNSProgress' because it has no superclass
1244 |             }
1245 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1328:30: error: extra arguments at positions #1, #5 in call
 195 |      Default value is 0.01.
 196 |      */
 197 |     public init<Total: BinaryInteger, Pending: BinaryInteger>(totalUnitCount: Total, parent: CSProgress?, pendingUnitCount: Pending, granularity: Double = CSProgress.defaultGranularity) {
     |            `- note: 'init(totalUnitCount:parent:pendingUnitCount:granularity:)' declared here
 198 |         self.backing = .swift(SwiftBacking(totalUnitCount: UnitCount(totalUnitCount)))
 199 |         self.parent = parent
     :
1326 |             return bridgedProgress
1327 |         } else {
1328 |             return CSProgress(wrappedNSProgress: ns, parent: nil, pendingUnitCount: 0, granularity: granularity, queue: queue)
     |                              `- error: extra arguments at positions #1, #5 in call
1329 |         }
1330 |     }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1328:31: error: missing argument for parameter 'totalUnitCount' in call
 195 |      Default value is 0.01.
 196 |      */
 197 |     public init<Total: BinaryInteger, Pending: BinaryInteger>(totalUnitCount: Total, parent: CSProgress?, pendingUnitCount: Pending, granularity: Double = CSProgress.defaultGranularity) {
     |            `- note: 'init(totalUnitCount:parent:pendingUnitCount:granularity:)' declared here
 198 |         self.backing = .swift(SwiftBacking(totalUnitCount: UnitCount(totalUnitCount)))
 199 |         self.parent = parent
     :
1326 |             return bridgedProgress
1327 |         } else {
1328 |             return CSProgress(wrappedNSProgress: ns, parent: nil, pendingUnitCount: 0, granularity: granularity, queue: queue)
     |                               `- error: missing argument for parameter 'totalUnitCount' in call
1329 |         }
1330 |     }
BUILD FAILURE 6.1 wasm