The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CSProgress, reference 1.1.2 (7d49a5), with Swift 6.0 for Linux on 2 Nov 2024 23:18:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CharlesJS/CSProgress.git
Reference: 1.1.2
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
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at 7d49a5a Make sure completion notification is fired when `isComplete` becomes true
Cloned https://github.com/CharlesJS/CSProgress.git
Revision (git rev-parse @):
7d49a5a05e8421db18db4bfb7f6fe4ff6853b4b3
SUCCESS checkout https://github.com/CharlesJS/CSProgress.git at 1.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CharlesJS/CSProgress.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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: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:1261:22: error: overriding non-open property outside of its defining module
1259 |         }
1260 |
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
     |                      `- error: overriding non-open property outside of its defining module
1262 |
1263 |         override var localizedDescription: String! {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1263:22: error: cannot observe read-only property 'localizedDescription'; it can't change
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
1262 |
1263 |         override var localizedDescription: String! {
     |                      `- error: cannot observe read-only property 'localizedDescription'; it can't change
1264 |             didSet { self.progress?.localizedDescription = self.localizedDescription }
1265 |         }
Foundation.Progress:16:14: note: attempt to override property here
14 |     open var totalUnitCount: Int64 { get set }
15 |     open var completedUnitCount: Int64 { get set }
16 |     open var localizedDescription: String! { get }
   |              `- note: attempt to override property here
17 |     open var localizedAdditionalDescription: String! { get }
18 |     open var isCancellable: Bool
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1264:65: error: ambiguous use of 'localizedDescription'
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
1262 |
1263 |         override var localizedDescription: String! {
     |                      `- note: found this candidate
1264 |             didSet { self.progress?.localizedDescription = self.localizedDescription }
     |                                                                 `- error: ambiguous use of 'localizedDescription'
1265 |         }
1266 |
Foundation.Progress:16:14: note: found this candidate in module 'Foundation'
14 |     open var totalUnitCount: Int64 { get set }
15 |     open var completedUnitCount: Int64 { get set }
16 |     open var localizedDescription: String! { get }
   |              `- note: found this candidate in module 'Foundation'
17 |     open var localizedAdditionalDescription: String! { get }
18 |     open var isCancellable: Bool
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1267:22: error: cannot observe read-only property 'localizedAdditionalDescription'; it can't change
1265 |         }
1266 |
1267 |         override var localizedAdditionalDescription: String! {
     |                      `- error: cannot observe read-only property 'localizedAdditionalDescription'; it can't change
1268 |             didSet { self.progress?.localizedAdditionalDescription = self.localizedAdditionalDescription }
1269 |         }
Foundation.Progress:17:14: note: attempt to override property here
15 |     open var completedUnitCount: Int64 { get set }
16 |     open var localizedDescription: String! { get }
17 |     open var localizedAdditionalDescription: String! { get }
   |              `- note: attempt to override property here
18 |     open var isCancellable: Bool
19 |     open var isPausable: Bool
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1268:75: error: ambiguous use of 'localizedAdditionalDescription'
1265 |         }
1266 |
1267 |         override var localizedAdditionalDescription: String! {
     |                      `- note: found this candidate
1268 |             didSet { self.progress?.localizedAdditionalDescription = self.localizedAdditionalDescription }
     |                                                                           `- error: ambiguous use of 'localizedAdditionalDescription'
1269 |         }
1270 |     }
Foundation.Progress:17:14: note: found this candidate in module 'Foundation'
15 |     open var completedUnitCount: Int64 { get set }
16 |     open var localizedDescription: String! { get }
17 |     open var localizedAdditionalDescription: String! { get }
   |              `- note: found this candidate in module 'Foundation'
18 |     open var isCancellable: Bool
19 |     open var isPausable: Bool
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1211:25: warning: class 'BridgedNSProgress' must restate inherited '@unchecked Sendable' conformance
1209 |
1210 |     // An NSProgress subclass that wraps a CSProgress.
1211 |     private final class BridgedNSProgress: Foundation.Progress {
     |                         `- warning: class 'BridgedNSProgress' must restate inherited '@unchecked Sendable' conformance
1212 |         private(set) weak var progress: CSProgress?
1213 |
[5/9] Compiling CSProgress CSProgress.swift
/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:1261:22: error: overriding non-open property outside of its defining module
1259 |         }
1260 |
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
     |                      `- error: overriding non-open property outside of its defining module
1262 |
1263 |         override var localizedDescription: String! {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1263:22: error: cannot observe read-only property 'localizedDescription'; it can't change
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
1262 |
1263 |         override var localizedDescription: String! {
     |                      `- error: cannot observe read-only property 'localizedDescription'; it can't change
1264 |             didSet { self.progress?.localizedDescription = self.localizedDescription }
1265 |         }
Foundation.Progress:16:14: note: attempt to override property here
14 |     open var totalUnitCount: Int64 { get set }
15 |     open var completedUnitCount: Int64 { get set }
16 |     open var localizedDescription: String! { get }
   |              `- note: attempt to override property here
17 |     open var localizedAdditionalDescription: String! { get }
18 |     open var isCancellable: Bool
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1264:65: error: ambiguous use of 'localizedDescription'
1261 |         override var fractionCompleted: Double { return self.progress?.fractionCompleted ?? 0.0 }
1262 |
1263 |         override var localizedDescription: String! {
     |                      `- note: found this candidate
1264 |             didSet { self.progress?.localizedDescription = self.localizedDescription }
     |                                                                 `- error: ambiguous use of 'localizedDescription'
1265 |         }
1266 |
Foundation.Progress:16:14: note: found this candidate in module 'Foundation'
14 |     open var totalUnitCount: Int64 { get set }
15 |     open var completedUnitCount: Int64 { get set }
16 |     open var localizedDescription: String! { get }
   |              `- note: found this candidate in module 'Foundation'
17 |     open var localizedAdditionalDescription: String! { get }
18 |     open var isCancellable: Bool
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1267:22: error: cannot observe read-only property 'localizedAdditionalDescription'; it can't change
1265 |         }
1266 |
1267 |         override var localizedAdditionalDescription: String! {
     |                      `- error: cannot observe read-only property 'localizedAdditionalDescription'; it can't change
1268 |             didSet { self.progress?.localizedAdditionalDescription = self.localizedAdditionalDescription }
1269 |         }
Foundation.Progress:17:14: note: attempt to override property here
15 |     open var completedUnitCount: Int64 { get set }
16 |     open var localizedDescription: String! { get }
17 |     open var localizedAdditionalDescription: String! { get }
   |              `- note: attempt to override property here
18 |     open var isCancellable: Bool
19 |     open var isPausable: Bool
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1268:75: error: ambiguous use of 'localizedAdditionalDescription'
1265 |         }
1266 |
1267 |         override var localizedAdditionalDescription: String! {
     |                      `- note: found this candidate
1268 |             didSet { self.progress?.localizedAdditionalDescription = self.localizedAdditionalDescription }
     |                                                                           `- error: ambiguous use of 'localizedAdditionalDescription'
1269 |         }
1270 |     }
Foundation.Progress:17:14: note: found this candidate in module 'Foundation'
15 |     open var completedUnitCount: Int64 { get set }
16 |     open var localizedDescription: String! { get }
17 |     open var localizedAdditionalDescription: String! { get }
   |              `- note: found this candidate in module 'Foundation'
18 |     open var isCancellable: Bool
19 |     open var isPausable: Bool
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1211:25: warning: class 'BridgedNSProgress' must restate inherited '@unchecked Sendable' conformance
1209 |
1210 |     // An NSProgress subclass that wraps a CSProgress.
1211 |     private final class BridgedNSProgress: Foundation.Progress {
     |                         `- warning: class 'BridgedNSProgress' must restate inherited '@unchecked Sendable' conformance
1212 |         private(set) weak var progress: CSProgress?
1213 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:578:17: warning: capture of 'eachNotification' with non-sendable type 'CSProgress.CancellationNotificationWrapper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 405 |     }
 406 |
 407 |     private struct CancellationNotificationWrapper {
     |                    `- note: consider making struct 'CancellationNotificationWrapper' conform to the 'Sendable' protocol
 408 |         let notification: CancellationNotification
 409 |         let queue: OperationQueue
     :
 576 |         for eachNotification in notifications {
 577 |             eachNotification.queue.addOperation {
 578 |                 eachNotification.notification()
     |                 `- warning: capture of 'eachNotification' with non-sendable type 'CSProgress.CancellationNotificationWrapper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 579 |             }
 580 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:609:21: warning: capture of 'eachNotification' with non-sendable type 'CSProgress.FractionCompletedNotificationWrapper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 410 |     }
 411 |
 412 |     private struct FractionCompletedNotificationWrapper {
     |                    `- note: consider making struct 'FractionCompletedNotificationWrapper' conform to the 'Sendable' protocol
 413 |         let notification: FractionCompletedNotification
 414 |         let queue: OperationQueue
     :
 607 |             for eachNotification in notifications {
 608 |                 eachNotification.queue.addOperation {
 609 |                     eachNotification.notification(completedUnitCount, totalUnitCount, fractionCompleted)
     |                     `- warning: capture of 'eachNotification' with non-sendable type 'CSProgress.FractionCompletedNotificationWrapper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 610 |                 }
 611 |             }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:634:17: warning: capture of 'eachNotification' with non-sendable type 'CSProgress.DescriptionNotificationWrapper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 415 |     }
 416 |
 417 |     private struct DescriptionNotificationWrapper {
     |                    `- note: consider making struct 'DescriptionNotificationWrapper' conform to the 'Sendable' protocol
 418 |         let notification: DescriptionNotification
 419 |         let queue: OperationQueue
     :
 632 |         for eachNotification in notifications {
 633 |             eachNotification.queue.addOperation {
 634 |                 eachNotification.notification(description, additionalDescription)
     |                 `- warning: capture of 'eachNotification' with non-sendable type 'CSProgress.DescriptionNotificationWrapper' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 635 |             }
 636 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:973:27: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to refer to member 'bindMemory' of wrapped base type 'UnsafeMutableRawPointer'
 971 |
 972 |             pthread_key_create(&self.isUpdatingKey) {
 973 |                 let ptr = $0.bindMemory(to: Bool.self, capacity: 1)
     |                           |- error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to refer to member 'bindMemory' of wrapped base type 'UnsafeMutableRawPointer'
     |                           |- note: chain the optional using '?' to access member 'bindMemory' only for non-'nil' base values
     |                           `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
 974 |
 975 |                 ptr.deinitialize(count: 1)
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1020:17: warning: capture of 'setupHandler' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1018 |             // Make our changes on the queue, to avoid jamming up the worker thread with KVO notifications.
1019 |             queue.addOperation {
1020 |                 setupHandler()
     |                 |- warning: capture of 'setupHandler' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1021 |
1022 |                 self.isUpdating = true
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1022:17: warning: capture of 'self' with non-sendable type 'CSProgress.ObjectiveCBacking' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 951 |
 952 |     // The backing for a CSProgress wrapping an NSProgress.
 953 |     private final class ObjectiveCBacking: NSObject {
     |                         `- note: class 'ObjectiveCBacking' does not conform to the 'Sendable' protocol
 954 |         let progress: Foundation.Progress
 955 |         let queue: OperationQueue
     :
1020 |                 setupHandler()
1021 |
1022 |                 self.isUpdating = true
     |                 `- warning: capture of 'self' with non-sendable type 'CSProgress.ObjectiveCBacking' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1023 |
1024 |                 if let totalUnitCount = totalUnitCount {
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1041:17: warning: capture of 'completionHandler' with non-sendable type '(Double, Bool) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1039 |                 self.isUpdating = false
1040 |
1041 |                 completionHandler(self.fractionCompleted, self.isCompleted)
     |                 |- warning: capture of 'completionHandler' with non-sendable type '(Double, Bool) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1042 |             }
1043 |         }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1056:35: error: cannot assign to property: 'localizedDescription' is a get-only property
1054 |
1055 |                 if let localizedDescription = localizedDescription {
1056 |                     self.progress.localizedDescription = localizedDescription
     |                                   `- error: cannot assign to property: 'localizedDescription' is a get-only property
1057 |                 }
1058 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1108:55: error: value of type 'Progress' has no member 'observe'
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: value of type 'Progress' has no member 'observe'
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: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:1110:46: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
1108 |             self.kvoObservations.append(self.progress.observe(\.fractionCompleted) { [weak self] _, _ in
1109 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.fractionCompletedUpdatedHandler {
1110 |                     sSelf.queue.addOperation(handler)
     |                                              `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
1111 |                 }
1112 |             })
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1114:55: error: value of type 'Progress' has no member 'observe'
1112 |             })
1113 |
1114 |             self.kvoObservations.append(self.progress.observe(\.isIndeterminate) { [weak self] _, _ in
     |                                                       `- error: value of type 'Progress' has no member 'observe'
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: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:1116:46: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
1114 |             self.kvoObservations.append(self.progress.observe(\.isIndeterminate) { [weak self] _, _ in
1115 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.indeterminateHandler {
1116 |                     sSelf.queue.addOperation(handler)
     |                                              `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
1117 |                 }
1118 |             })
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1120:55: error: value of type 'Progress' has no member 'observe'
1118 |             })
1119 |
1120 |             self.kvoObservations.append(self.progress.observe(\.isCancelled) { [weak self] _, _ in
     |                                                       `- error: value of type 'Progress' has no member 'observe'
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: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:1122:46: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
1120 |             self.kvoObservations.append(self.progress.observe(\.isCancelled) { [weak self] _, _ in
1121 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.cancellationHandler {
1122 |                     sSelf.queue.addOperation(handler)
     |                                              `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
1123 |                 }
1124 |             })
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1126:55: error: value of type 'Progress' has no member 'observe'
1124 |             })
1125 |
1126 |             self.kvoObservations.append(self.progress.observe(\.localizedDescription) { [weak self] _, _ in
     |                                                       `- error: value of type 'Progress' has no member 'observe'
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: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:1128:46: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
1126 |             self.kvoObservations.append(self.progress.observe(\.localizedDescription) { [weak self] _, _ in
1127 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1128 |                     sSelf.queue.addOperation(handler)
     |                                              `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
1129 |                 }
1130 |             })
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1132:55: error: value of type 'Progress' has no member 'observe'
1130 |             })
1131 |
1132 |             self.kvoObservations.append(self.progress.observe(\.localizedAdditionalDescription) { [weak self] _, _ in
     |                                                       `- error: value of type 'Progress' has no member 'observe'
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: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:1134:46: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
1132 |             self.kvoObservations.append(self.progress.observe(\.localizedAdditionalDescription) { [weak self] _, _ in
1133 |                 if let sSelf = self, !sSelf.isUpdating, let handler = sSelf.descriptionUpdatedHandler {
1134 |                     sSelf.queue.addOperation(handler)
     |                                              `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
1135 |                 }
1136 |             })
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1226:19: error: cannot assign to property: 'localizedDescription' is a get-only property
1224 |             super.totalUnitCount = progress.backing.totalUnitCount
1225 |             super.completedUnitCount = progress.backing.completedUnitCount
1226 |             super.localizedDescription = progress.backing.localizedDescription
     |             |     `- error: cannot assign to property: 'localizedDescription' is a get-only property
     |             `- note: add explicit 'self.' to refer to mutable property of 'CSProgress.BridgedNSProgress'
1227 |             super.localizedAdditionalDescription = progress.backing.localizedAdditionalDescription
1228 |             if progress.backing.isCancelled { super.cancel() }
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1227:19: error: cannot assign to property: 'localizedAdditionalDescription' is a get-only property
1225 |             super.completedUnitCount = progress.backing.completedUnitCount
1226 |             super.localizedDescription = progress.backing.localizedDescription
1227 |             super.localizedAdditionalDescription = progress.backing.localizedAdditionalDescription
     |             |     `- error: cannot assign to property: 'localizedAdditionalDescription' is a get-only property
     |             `- note: add explicit 'self.' to refer to mutable property of 'CSProgress.BridgedNSProgress'
1228 |             if progress.backing.isCancelled { super.cancel() }
1229 |
/host/spi-builder-workspace/Sources/CSProgress/CSProgress.swift:1238:23: error: cannot assign to property: 'localizedDescription' is a get-only property
1236 |
1237 |             self.descriptionIdentifier = progress._addDescriptionNotification(onQueue: queue) { desc, aDesc in
1238 |                 super.localizedDescription = desc
     |                 |     `- error: cannot assign to property: 'localizedDescription' is a get-only property
     |                 `- note: add explicit 'self.' to refer to mutable property of 'CSProgress.BridgedNSProgress'
1239 |                 super.localizedAdditionalDescription = aDesc
1240 |             }
BUILD FAILURE 6.0 linux