Build Information
Failed to build GatheredKit, reference main (5fe60e
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 07:18:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JosephDuffy/GatheredKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JosephDuffy/GatheredKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5fe60e4 Use `ResolutionMeasurement` for screen resolution properties
Cloned https://github.com/JosephDuffy/GatheredKit.git
Revision (git rev-parse @):
5fe60e4ce57c97b9109d032c426051c7db21432c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/JosephDuffy/GatheredKit.git at main
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.09s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (1.70s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "gatheredkit",
"name": "GatheredKit",
"url": "https://github.com/JosephDuffy/GatheredKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GatheredKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/JosephDuffy/GatheredKit.git
[1/6344] Fetching gatheredkit
Fetched https://github.com/JosephDuffy/GatheredKit.git from cache (1.10s)
Creating working copy for https://github.com/JosephDuffy/GatheredKit.git
Working copy of https://github.com/JosephDuffy/GatheredKit.git resolved at main (5fe60e4)
warning: '.resolve-product-dependencies': dependency 'gatheredkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/JosephDuffy/GatheredKit.git
https://github.com/JosephDuffy/GatheredKit.git
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"exact" : [
"1.0.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "GatheredKit",
"name" : "GatheredKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "GatheredKit",
"targets" : [
"GatheredKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatheredKitCamera",
"targets" : [
"GatheredKitCamera"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatheredKitDevice",
"targets" : [
"GatheredKitDevice"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatheredKitExternalAccessory",
"targets" : [
"GatheredKitExternalAccessory"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatheredKitLocation",
"targets" : [
"GatheredKitLocation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatheredKitMotion",
"targets" : [
"GatheredKitMotion"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatheredKitProcessInfo",
"targets" : [
"GatheredKitProcessInfo"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatheredKitScreen",
"targets" : [
"GatheredKitScreen"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatheredKitSystemStatistics",
"targets" : [
"GatheredKitSystemStatistics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatheredKitTestHelpers",
"targets" : [
"GatheredKitTestHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatheredKitUserTracking",
"targets" : [
"GatheredKitUserTracking"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatheredKitWiFi",
"targets" : [
"GatheredKitWiFi"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GatheredKitWiFi",
"module_type" : "SwiftTarget",
"name" : "GatheredKitWiFi",
"path" : "Sources/GatheredKitWiFi",
"product_memberships" : [
"GatheredKitWiFi"
],
"sources" : [
"SourceKind+wifi.swift",
"WiFi.swift",
"WiFiProvider.swift"
],
"target_dependencies" : [
"GatheredKit"
],
"type" : "library"
},
{
"c99name" : "GatheredKitUserTracking",
"module_type" : "SwiftTarget",
"name" : "GatheredKitUserTracking",
"path" : "Sources/GatheredKitUserTracking",
"product_memberships" : [
"GatheredKitUserTracking"
],
"sources" : [
"SourceKind+userTracking.swift",
"UserTracking.swift"
],
"target_dependencies" : [
"GatheredKit"
],
"type" : "library"
},
{
"c99name" : "GatheredKitTests",
"module_type" : "SwiftTarget",
"name" : "GatheredKitTests",
"path" : "Tests/GatheredKitTests",
"sources" : [
"MicroTeslaTests.swift",
"PlatformTests.swift",
"PropertyIdentifierTests.swift",
"SourceIdentifierTests.swift"
],
"target_dependencies" : [
"GatheredKit",
"GatheredKitTestHelpers"
],
"type" : "test"
},
{
"c99name" : "GatheredKitTestHelpers",
"module_type" : "SwiftTarget",
"name" : "GatheredKitTestHelpers",
"path" : "Sources/GatheredKitTestHelpers",
"product_memberships" : [
"GatheredKitTestHelpers"
],
"sources" : [
"Mocks/MockNotificationCenter.swift"
],
"target_dependencies" : [
"GatheredKit"
],
"type" : "library"
},
{
"c99name" : "GatheredKitSystemStatistics",
"module_type" : "SwiftTarget",
"name" : "GatheredKitSystemStatistics",
"path" : "Sources/GatheredKitSystemStatistics",
"product_memberships" : [
"GatheredKitSystemStatistics"
],
"sources" : [
"MemoryStatistics.swift",
"SourceKind+memoryUsage.swift"
],
"target_dependencies" : [
"GatheredKit"
],
"type" : "library"
},
{
"c99name" : "GatheredKitScreenTests",
"module_type" : "SwiftTarget",
"name" : "GatheredKitScreenTests",
"path" : "Tests/GatheredKitScreenTests",
"sources" : [
"MockScreen.swift",
"ScreenTests_iOS_tvOS.swift",
"UnitResolutionTests.swift"
],
"target_dependencies" : [
"GatheredKitScreen",
"GatheredKitTestHelpers"
],
"type" : "test"
},
{
"c99name" : "GatheredKitScreen",
"module_type" : "SwiftTarget",
"name" : "GatheredKitScreen",
"path" : "Sources/GatheredKitScreen",
"product_memberships" : [
"GatheredKitScreen"
],
"sources" : [
"Formatters/NSColorSpaceFormatter.swift",
"Formatters/NSColorSpaceModelFormatter.swift",
"Properties/NSColorSpaceModelProperty.swift",
"Properties/NSColorSpaceProperty.swift",
"Properties/OptionalNSColorSpaceProperty.swift",
"Properties/ResolutionProperty.swift",
"ResolutionMeasurement.swift",
"ScreenProvider_iOS_tvOS.swift",
"ScreenProvider_macOS.swift",
"Screen_iOS_tvOS.swift",
"Screen_macOS.swift",
"Screen_watchOS.swift",
"SourceKind+screen.swift",
"Units/UnitResolution.swift"
],
"target_dependencies" : [
"GatheredKit"
],
"type" : "library"
},
{
"c99name" : "GatheredKitProcessInfo",
"module_type" : "SwiftTarget",
"name" : "GatheredKitProcessInfo",
"path" : "Sources/GatheredKitProcessInfo",
"product_memberships" : [
"GatheredKitProcessInfo"
],
"sources" : [
"SourceKind+thermalState.swift",
"ThermalState.swift",
"ThermalStateProperty.swift"
],
"target_dependencies" : [
"GatheredKit"
],
"type" : "library"
},
{
"c99name" : "GatheredKitMotion",
"module_type" : "SwiftTarget",
"name" : "GatheredKitMotion",
"path" : "Sources/GatheredKitMotion",
"product_memberships" : [
"GatheredKitMotion"
],
"sources" : [
"Formatters/CMAccelerationFormatter.swift",
"Formatters/CMAttitudeFormatter.swift",
"Formatters/CMCalibratedMagneticFieldFormatter.swift",
"Formatters/CMMagneticFieldFormatter.swift",
"Formatters/CMQuaternionFormatter.swift",
"Formatters/CMRotationMatrixFormatter.swift",
"Formatters/CMRotationRateFormatter.swift",
"Formatters/MagneticFieldCalibrationAccuracyFormatter.swift",
"Properties/CMAbsoluteAltitudeDataProperty.swift",
"Properties/CMAccelerationProperty.swift",
"Properties/CMAttitudeProperty.swift",
"Properties/CMCalibratedMagneticFieldProperty.swift",
"Properties/CMMagneticFieldProperty.swift",
"Properties/CMQuaternionProperty.swift",
"Properties/CMRotationMatrixProperty.swift",
"Properties/CMRotationRateProperty.swift",
"Properties/MagneticFieldCalibrationAccuracyProperty.swift",
"Properties/OptionalCMAbsoluteAltitudeDataProperty.swift",
"Properties/OptionalCMAccelerationProperty.swift",
"Properties/OptionalCMAttitudeProperty.swift",
"Properties/OptionalCMCalibratedMagneticFieldProperty.swift",
"Properties/OptionalCMMagneticFieldProperty.swift",
"Properties/OptionalCMQuaternionProperty.swift",
"Properties/OptionalCMRotationMatrixProperty.swift",
"Properties/OptionalCMRotationRateProperty.swift",
"Shims/CMAbsoluteAltitudeDataShim.swift",
"Sources/Accelerometer.swift",
"Sources/Altimeter.swift",
"Sources/CMLogItem+date.swift",
"Sources/CMMotionManager+shared.swift",
"Sources/DeviceMotion.swift",
"Sources/Gyroscope.swift",
"Sources/Magnetometer.swift",
"Sources/SourceKind+motionSources.swift"
],
"target_dependencies" : [
"GatheredKit"
],
"type" : "library"
},
{
"c99name" : "GatheredKitLocationTests",
"module_type" : "SwiftTarget",
"name" : "GatheredKitLocationTests",
"path" : "Tests/GatheredKitLocationTests",
"sources" : [
"LocationTests.swift",
"MockLocationManager.swift"
],
"target_dependencies" : [
"GatheredKitLocation"
],
"type" : "test"
},
{
"c99name" : "GatheredKitLocation",
"module_type" : "SwiftTarget",
"name" : "GatheredKitLocation",
"path" : "Sources/GatheredKitLocation",
"product_memberships" : [
"GatheredKitLocation"
],
"sources" : [
"Properties/CLLocationAuthorizationProperty.swift",
"Properties/CoordinateProperty.swift",
"Properties/CoordinatePropertyIdentifier.swift",
"Properties/OptionalCoordinateProperty.swift",
"Sources/Location.swift",
"Sources/SourceKind+location.swift"
],
"target_dependencies" : [
"GatheredKit"
],
"type" : "library"
},
{
"c99name" : "GatheredKitExternalAccessory",
"module_type" : "SwiftTarget",
"name" : "GatheredKitExternalAccessory",
"path" : "Sources/GatheredKitExternalAccessory",
"product_memberships" : [
"GatheredKitExternalAccessory"
],
"sources" : [
"ExternalAccessory.swift",
"ExternalAccessoryProvider.swift",
"SourceKind+externalAccessory.swift"
],
"target_dependencies" : [
"GatheredKit"
],
"type" : "library"
},
{
"c99name" : "GatheredKitDevice",
"module_type" : "SwiftTarget",
"name" : "GatheredKitDevice",
"path" : "Sources/GatheredKitDevice",
"product_memberships" : [
"GatheredKitDevice"
],
"sources" : [
"Battery/Battery.swift",
"Battery/BatteryStateProperty.swift",
"Battery/SourceKind+battery.swift"
],
"target_dependencies" : [
"GatheredKit"
],
"type" : "library"
},
{
"c99name" : "GatheredKitCamera",
"module_type" : "SwiftTarget",
"name" : "GatheredKitCamera",
"path" : "Sources/GatheredKitCamera",
"product_memberships" : [
"GatheredKitCamera"
],
"sources" : [
"AVCaptureDevicePositionFormatter.swift",
"AVCaptureDevicePositionProperty.swift",
"Camera.swift",
"CameraProvider.swift",
"SourceKind+camera.swift"
],
"target_dependencies" : [
"GatheredKit"
],
"type" : "library"
},
{
"c99name" : "GatheredKit",
"module_type" : "SwiftTarget",
"name" : "GatheredKit",
"path" : "Sources/GatheredKit",
"product_memberships" : [
"GatheredKit",
"GatheredKitCamera",
"GatheredKitDevice",
"GatheredKitExternalAccessory",
"GatheredKitLocation",
"GatheredKitMotion",
"GatheredKitProcessInfo",
"GatheredKitScreen",
"GatheredKitSystemStatistics",
"GatheredKitTestHelpers",
"GatheredKitUserTracking",
"GatheredKitWiFi"
],
"sources" : [
"Controllable/Controllable.swift",
"Controllable/ControllableError.swift",
"Controllable/CustomisableUpdateIntervalControllable.swift",
"Extensions/OperationQueue+convenience.swift",
"Extensions/String+localized.swift",
"Extensions/castToOptional.swift",
"Properties/BoolProperty.swift",
"Properties/Measurements/AccelerationProperty.swift",
"Properties/Measurements/AngleProperty.swift",
"Properties/Measurements/AnyProperty+measurement.swift",
"Properties/Measurements/FrequencyProperty.swift",
"Properties/Measurements/LengthProperty.swift",
"Properties/Measurements/MagneticFieldProperty.swift",
"Properties/Measurements/MeasurementProperty.swift",
"Properties/Measurements/OptionalMeasurementProperty.swift",
"Properties/Measurements/PressureProperty.swift",
"Properties/Measurements/SpeedProperty.swift",
"Properties/NumericProperties.swift",
"Properties/PercentProperty.swift",
"Properties/StringProperty.swift",
"PropertiesProvider/ManuallyUpdatablePropertiesProvider.swift",
"PropertiesProvider/PropertiesProviding.swift",
"Property/AnySnapshot.swift",
"Property/BasicProperty.swift",
"Property/OptionalProperty.swift",
"Property/Property.swift",
"Property/PropertyIdentifier.swift",
"Property/ReadOnlyProperty.swift",
"Property/ScaleProperty.swift",
"Property/Snapshot.swift",
"Property/UpdatableProperty.swift",
"Source/BasePollingSource.swift",
"Source/Source.swift",
"Source/SourceAvailability.swift",
"Source/SourceError.swift",
"Source/SourceEvent.swift",
"Source/SourceIdentifier.swift",
"Source/SourceKind.swift",
"Source/UpdatingSource.swift",
"SourceProvider/ControllableSourceProvider.swift",
"SourceProvider/SingleSourceProvider.swift",
"SourceProvider/SourceProvider.swift",
"SourceProvider/SourceProviderEvent.swift",
"SourceProvider/SourceProviderIdentifier.swift",
"SourceProvider/UpdatingSourceProvider.swift",
"Units/UnitFrequency+radiansPerSecond.swift",
"Units/UnitMagneticField.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/15] Write sources
[14/15] Write swift-version-2F0A5646E1D333AE.txt
[16/59] Emitting module GatheredKit
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Units/UnitMagneticField.swift:3:20: warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class UnitMagneticField: Dimension {
| `- warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
4 | public override class func baseUnit() -> UnitMagneticField {
5 | tesla
[17/63] Compiling GatheredKit ManuallyUpdatablePropertiesProvider.swift
[18/63] Compiling GatheredKit PropertiesProviding.swift
[19/63] Compiling GatheredKit AnySnapshot.swift
[20/63] Compiling GatheredKit BasicProperty.swift
[21/63] Compiling GatheredKit OptionalProperty.swift
[22/63] Compiling GatheredKit FrequencyProperty.swift
[23/63] Compiling GatheredKit LengthProperty.swift
[24/63] Compiling GatheredKit MagneticFieldProperty.swift
[25/63] Compiling GatheredKit MeasurementProperty.swift
[26/63] Compiling GatheredKit OptionalMeasurementProperty.swift
[27/63] Compiling GatheredKit SourceProviderIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Units/UnitMagneticField.swift:3:20: warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class UnitMagneticField: Dimension {
| `- warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
4 | public override class func baseUnit() -> UnitMagneticField {
5 | tesla
[28/63] Compiling GatheredKit UpdatingSourceProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Units/UnitMagneticField.swift:3:20: warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class UnitMagneticField: Dimension {
| `- warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
4 | public override class func baseUnit() -> UnitMagneticField {
5 | tesla
[29/63] Compiling GatheredKit UnitFrequency+radiansPerSecond.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Units/UnitMagneticField.swift:3:20: warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class UnitMagneticField: Dimension {
| `- warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
4 | public override class func baseUnit() -> UnitMagneticField {
5 | tesla
[30/63] Compiling GatheredKit UnitMagneticField.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Units/UnitMagneticField.swift:3:20: warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class UnitMagneticField: Dimension {
| `- warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
4 | public override class func baseUnit() -> UnitMagneticField {
5 | tesla
[31/63] Compiling GatheredKit castToOptional.swift
[32/63] Compiling GatheredKit BoolProperty.swift
[33/63] Compiling GatheredKit AccelerationProperty.swift
[34/63] Compiling GatheredKit AngleProperty.swift
[35/63] Compiling GatheredKit AnyProperty+measurement.swift
[36/63] Compiling GatheredKit Controllable.swift
[37/63] Compiling GatheredKit ControllableError.swift
[38/63] Compiling GatheredKit CustomisableUpdateIntervalControllable.swift
[39/63] Compiling GatheredKit OperationQueue+convenience.swift
[40/63] Compiling GatheredKit String+localized.swift
[41/63] Compiling GatheredKit ControllableSourceProvider.swift
[42/63] Compiling GatheredKit SingleSourceProvider.swift
[43/63] Compiling GatheredKit SourceProvider.swift
[44/63] Compiling GatheredKit SourceProviderEvent.swift
[45/63] Compiling GatheredKit UpdatableProperty.swift
[46/63] Compiling GatheredKit BasePollingSource.swift
[47/63] Compiling GatheredKit Source.swift
[48/63] Compiling GatheredKit SourceAvailability.swift
[49/63] Compiling GatheredKit SourceError.swift
[50/63] Compiling GatheredKit SourceEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:25:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | }
24 | continuation.onTermination = { @Sendable [cancellable] _ in
25 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | }
27 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 |
3 | public protocol UpdatesProviding: AnyObject {
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:22:30: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
20 | AsyncStream<SourceEvent> { continuation in
21 | let cancellable = eventsPublisher.sink { event in
22 | continuation.yield(event)
| |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'event' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 | continuation.onTermination = { @Sendable [cancellable] _ in
[51/63] Compiling GatheredKit SourceIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:25:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | }
24 | continuation.onTermination = { @Sendable [cancellable] _ in
25 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | }
27 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 |
3 | public protocol UpdatesProviding: AnyObject {
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:22:30: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
20 | AsyncStream<SourceEvent> { continuation in
21 | let cancellable = eventsPublisher.sink { event in
22 | continuation.yield(event)
| |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'event' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 | continuation.onTermination = { @Sendable [cancellable] _ in
[52/63] Compiling GatheredKit SourceKind.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:25:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | }
24 | continuation.onTermination = { @Sendable [cancellable] _ in
25 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | }
27 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 |
3 | public protocol UpdatesProviding: AnyObject {
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:22:30: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
20 | AsyncStream<SourceEvent> { continuation in
21 | let cancellable = eventsPublisher.sink { event in
22 | continuation.yield(event)
| |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'event' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 | continuation.onTermination = { @Sendable [cancellable] _ in
[53/63] Compiling GatheredKit UpdatingSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:25:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 | }
24 | continuation.onTermination = { @Sendable [cancellable] _ in
25 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
26 | }
27 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 |
3 | public protocol UpdatesProviding: AnyObject {
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Source/UpdatingSource.swift:22:30: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
20 | AsyncStream<SourceEvent> { continuation in
21 | let cancellable = eventsPublisher.sink { event in
22 | continuation.yield(event)
| |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'event' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 | continuation.onTermination = { @Sendable [cancellable] _ in
[54/63] Compiling GatheredKit PressureProperty.swift
[55/63] Compiling GatheredKit SpeedProperty.swift
[56/63] Compiling GatheredKit NumericProperties.swift
[57/63] Compiling GatheredKit PercentProperty.swift
[58/63] Compiling GatheredKit StringProperty.swift
[59/63] Compiling GatheredKit Property.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:43:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | continuation.onTermination = { @Sendable [cancellable] _ in
43 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:55:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | }
54 | continuation.onTermination = { @Sendable [cancellable] _ in
55 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 | }
57 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:40:30: warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
38 | AsyncStream<Snapshot<Value>> { continuation in
39 | let cancellable = snapshotsPublisher.sink { snapshot in
40 | continuation.yield(snapshot)
| |- warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
41 | }
42 | continuation.onTermination = { @Sendable [cancellable] _ in
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:52:30: warning: sending 'snapshot.value' risks causing data races; this is an error in the Swift 6 language mode
50 | AsyncStream<Value> { continuation in
51 | let cancellable = snapshotsPublisher.sink { snapshot in
52 | continuation.yield(snapshot.value)
| |- warning: sending 'snapshot.value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot.value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
53 | }
54 | continuation.onTermination = { @Sendable [cancellable] _ in
[60/63] Compiling GatheredKit PropertyIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:43:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | continuation.onTermination = { @Sendable [cancellable] _ in
43 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:55:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | }
54 | continuation.onTermination = { @Sendable [cancellable] _ in
55 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 | }
57 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:40:30: warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
38 | AsyncStream<Snapshot<Value>> { continuation in
39 | let cancellable = snapshotsPublisher.sink { snapshot in
40 | continuation.yield(snapshot)
| |- warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
41 | }
42 | continuation.onTermination = { @Sendable [cancellable] _ in
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:52:30: warning: sending 'snapshot.value' risks causing data races; this is an error in the Swift 6 language mode
50 | AsyncStream<Value> { continuation in
51 | let cancellable = snapshotsPublisher.sink { snapshot in
52 | continuation.yield(snapshot.value)
| |- warning: sending 'snapshot.value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot.value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
53 | }
54 | continuation.onTermination = { @Sendable [cancellable] _ in
[61/63] Compiling GatheredKit ReadOnlyProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:43:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | continuation.onTermination = { @Sendable [cancellable] _ in
43 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:55:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | }
54 | continuation.onTermination = { @Sendable [cancellable] _ in
55 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 | }
57 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:40:30: warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
38 | AsyncStream<Snapshot<Value>> { continuation in
39 | let cancellable = snapshotsPublisher.sink { snapshot in
40 | continuation.yield(snapshot)
| |- warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
41 | }
42 | continuation.onTermination = { @Sendable [cancellable] _ in
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:52:30: warning: sending 'snapshot.value' risks causing data races; this is an error in the Swift 6 language mode
50 | AsyncStream<Value> { continuation in
51 | let cancellable = snapshotsPublisher.sink { snapshot in
52 | continuation.yield(snapshot.value)
| |- warning: sending 'snapshot.value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot.value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
53 | }
54 | continuation.onTermination = { @Sendable [cancellable] _ in
[62/63] Compiling GatheredKit ScaleProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:43:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | continuation.onTermination = { @Sendable [cancellable] _ in
43 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:55:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | }
54 | continuation.onTermination = { @Sendable [cancellable] _ in
55 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 | }
57 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:40:30: warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
38 | AsyncStream<Snapshot<Value>> { continuation in
39 | let cancellable = snapshotsPublisher.sink { snapshot in
40 | continuation.yield(snapshot)
| |- warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
41 | }
42 | continuation.onTermination = { @Sendable [cancellable] _ in
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:52:30: warning: sending 'snapshot.value' risks causing data races; this is an error in the Swift 6 language mode
50 | AsyncStream<Value> { continuation in
51 | let cancellable = snapshotsPublisher.sink { snapshot in
52 | continuation.yield(snapshot.value)
| |- warning: sending 'snapshot.value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot.value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
53 | }
54 | continuation.onTermination = { @Sendable [cancellable] _ in
[63/63] Compiling GatheredKit Snapshot.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:43:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | }
42 | continuation.onTermination = { @Sendable [cancellable] _ in
43 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | }
45 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:55:17: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | }
54 | continuation.onTermination = { @Sendable [cancellable] _ in
55 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 | }
57 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:40:30: warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
38 | AsyncStream<Snapshot<Value>> { continuation in
39 | let cancellable = snapshotsPublisher.sink { snapshot in
40 | continuation.yield(snapshot)
| |- warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
41 | }
42 | continuation.onTermination = { @Sendable [cancellable] _ in
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Property/Property.swift:52:30: warning: sending 'snapshot.value' risks causing data races; this is an error in the Swift 6 language mode
50 | AsyncStream<Value> { continuation in
51 | let cancellable = snapshotsPublisher.sink { snapshot in
52 | continuation.yield(snapshot.value)
| |- warning: sending 'snapshot.value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot.value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
53 | }
54 | continuation.onTermination = { @Sendable [cancellable] _ in
[64/140] Compiling GatheredKitProcessInfo ThermalStateProperty.swift
[65/140] Compiling GatheredKitSystemStatistics SourceKind+memoryUsage.swift
[66/140] Emitting module GatheredKitProcessInfo
[67/140] Compiling GatheredKitProcessInfo SourceKind+thermalState.swift
[68/140] Compiling GatheredKitProcessInfo ThermalState.swift
[69/140] Compiling GatheredKitDevice SourceKind+battery.swift
[70/140] Compiling GatheredKitDevice BatteryStateProperty.swift
[71/140] Compiling GatheredKitDevice Battery.swift
[72/140] Emitting module GatheredKitDevice
[73/140] Compiling GatheredKitUserTracking UserTracking.swift
[74/140] Compiling GatheredKitUserTracking SourceKind+userTracking.swift
[75/140] Emitting module GatheredKitUserTracking
[76/140] Compiling GatheredKitTestHelpers MockNotificationCenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitTestHelpers/Mocks/MockNotificationCenter.swift:3:20: warning: class 'MockNotificationCenter' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class MockNotificationCenter: NotificationCenter {
| `- warning: class 'MockNotificationCenter' must restate inherited '@unchecked Sendable' conformance
4 | public typealias AddObserverParameters = (
5 | name: Notification.Name?, object: Any?, queue: OperationQueue?,
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitTestHelpers/Mocks/MockNotificationCenter.swift:75:95: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
65 | public override func addObserver(
66 | forName name: Notification.Name?, object obj: Any?, queue: OperationQueue?,
67 | using block: @escaping (Notification) -> Void
| `- note: parameter 'block' is implicitly non-sendable
68 | ) -> NSObjectProtocol {
69 | defer {
:
73 | addObserverParameters.append((name: name, object: obj, queue: queue, block: block))
74 |
75 | let opaqueObject = super.addObserver(forName: name, object: obj, queue: queue, using: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
76 | addObserverOpaqueObjects.append(opaqueObject)
77 | return opaqueObject
[77/140] Emitting module GatheredKitTestHelpers
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitTestHelpers/Mocks/MockNotificationCenter.swift:3:20: warning: class 'MockNotificationCenter' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class MockNotificationCenter: NotificationCenter {
| `- warning: class 'MockNotificationCenter' must restate inherited '@unchecked Sendable' conformance
4 | public typealias AddObserverParameters = (
5 | name: Notification.Name?, object: Any?, queue: OperationQueue?,
[78/146] Compiling GatheredKitLocation SourceKind+location.swift
[79/146] Emitting module GatheredKitSystemStatistics
[80/146] Compiling GatheredKitSystemStatistics MemoryStatistics.swift
[81/146] Emitting module GatheredKitLocation
[82/146] Compiling GatheredKitLocation CLLocationAuthorizationProperty.swift
[83/146] Compiling GatheredKitLocation CoordinateProperty.swift
[84/146] Compiling GatheredKitExternalAccessory SourceKind+externalAccessory.swift
[85/146] Compiling GatheredKitExternalAccessory ExternalAccessoryProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitExternalAccessory/ExternalAccessoryProvider.swift:97:18: warning: TODO: Perform a diff based on ids
95 |
96 | private func updateSources() {
97 | #warning("TODO: Perform a diff based on ids")
| `- warning: TODO: Perform a diff based on ids
98 | sources = accessoryManager.connectedAccessories.map { accessory in
99 | ExternalAccessory(accessory: accessory)
[86/146] Emitting module GatheredKitExternalAccessory
[87/146] Compiling GatheredKitExternalAccessory ExternalAccessory.swift
[88/146] Compiling GatheredKitLocation OptionalCoordinateProperty.swift
[89/146] Compiling GatheredKitLocation CoordinatePropertyIdentifier.swift
[90/146] Compiling GatheredKitLocation Location.swift
[91/146] Compiling GatheredKitWiFi WiFi.swift
[92/146] Compiling GatheredKitWiFi SourceKind+wifi.swift
[93/146] Compiling GatheredKitWiFi WiFiProvider.swift
[94/146] Emitting module GatheredKitWiFi
[95/146] Compiling GatheredKitMotion MagneticFieldCalibrationAccuracyProperty.swift
[96/146] Compiling GatheredKitMotion OptionalCMAbsoluteAltitudeDataProperty.swift
[97/146] Compiling GatheredKitMotion OptionalCMAccelerationProperty.swift
[98/146] Compiling GatheredKitMotion CMAbsoluteAltitudeDataProperty.swift
[99/146] Compiling GatheredKitMotion CMAccelerationProperty.swift
[100/146] Compiling GatheredKitMotion CMAttitudeProperty.swift
[101/146] Compiling GatheredKitMotion CMCalibratedMagneticFieldProperty.swift
[102/149] Emitting module GatheredKitMotion
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Accelerometer.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/CMMotionManager+shared.swift:6:13: warning: var '_sharedCMMotionManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS, unavailable)
6 | private var _sharedCMMotionManager: CMMotionManager?
| |- warning: var '_sharedCMMotionManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_sharedCMMotionManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_sharedCMMotionManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private let accessLock = NSLock()
8 |
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/DeviceMotion.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static func availableReferenceFrames() -> CMAttitudeReferenceFrame {
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Gyroscope.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Magnetometer.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
[103/149] Compiling GatheredKitMotion CMAccelerationFormatter.swift
[104/149] Compiling GatheredKitMotion CMAttitudeFormatter.swift
[105/149] Compiling GatheredKitMotion CMCalibratedMagneticFieldFormatter.swift
[106/149] Compiling GatheredKitMotion CMMagneticFieldFormatter.swift
[107/149] Compiling GatheredKitMotion CMAbsoluteAltitudeDataShim.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Accelerometer.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
[108/149] Compiling GatheredKitMotion Accelerometer.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Accelerometer.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
[109/149] Compiling GatheredKitMotion Altimeter.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Accelerometer.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
[110/149] Compiling GatheredKitMotion OptionalCMQuaternionProperty.swift
[111/149] Compiling GatheredKitMotion OptionalCMRotationMatrixProperty.swift
[112/149] Compiling GatheredKitMotion OptionalCMRotationRateProperty.swift
[113/149] Compiling GatheredKitMotion CMMagneticFieldProperty.swift
[114/149] Compiling GatheredKitMotion CMQuaternionProperty.swift
[115/149] Compiling GatheredKitMotion CMRotationMatrixProperty.swift
[116/149] Compiling GatheredKitMotion CMRotationRateProperty.swift
[117/149] Compiling GatheredKitMotion CMQuaternionFormatter.swift
[118/149] Compiling GatheredKitMotion CMRotationMatrixFormatter.swift
[119/149] Compiling GatheredKitMotion CMRotationRateFormatter.swift
[120/149] Compiling GatheredKitMotion MagneticFieldCalibrationAccuracyFormatter.swift
[121/149] Compiling GatheredKitMotion CMLogItem+date.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/CMMotionManager+shared.swift:6:13: warning: var '_sharedCMMotionManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS, unavailable)
6 | private var _sharedCMMotionManager: CMMotionManager?
| |- warning: var '_sharedCMMotionManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_sharedCMMotionManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_sharedCMMotionManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private let accessLock = NSLock()
8 |
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/DeviceMotion.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static func availableReferenceFrames() -> CMAttitudeReferenceFrame {
[122/149] Compiling GatheredKitMotion CMMotionManager+shared.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/CMMotionManager+shared.swift:6:13: warning: var '_sharedCMMotionManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS, unavailable)
6 | private var _sharedCMMotionManager: CMMotionManager?
| |- warning: var '_sharedCMMotionManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_sharedCMMotionManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_sharedCMMotionManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private let accessLock = NSLock()
8 |
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/DeviceMotion.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static func availableReferenceFrames() -> CMAttitudeReferenceFrame {
[123/149] Compiling GatheredKitMotion DeviceMotion.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/CMMotionManager+shared.swift:6:13: warning: var '_sharedCMMotionManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | @available(macOS, unavailable)
6 | private var _sharedCMMotionManager: CMMotionManager?
| |- warning: var '_sharedCMMotionManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_sharedCMMotionManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_sharedCMMotionManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | private let accessLock = NSLock()
8 |
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/DeviceMotion.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static func availableReferenceFrames() -> CMAttitudeReferenceFrame {
[124/149] Compiling GatheredKitMotion OptionalCMAttitudeProperty.swift
[125/149] Compiling GatheredKitMotion OptionalCMCalibratedMagneticFieldProperty.swift
[126/149] Compiling GatheredKitMotion OptionalCMMagneticFieldProperty.swift
[127/149] Compiling GatheredKitMotion Gyroscope.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Gyroscope.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Magnetometer.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
[128/149] Compiling GatheredKitMotion Magnetometer.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Gyroscope.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Magnetometer.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
[129/149] Compiling GatheredKitMotion SourceKind+motionSources.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Gyroscope.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitMotion/Sources/Magnetometer.swift:18:23: warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public let availability: SourceAvailability
17 |
18 | public static var defaultUpdateInterval: TimeInterval = 1
| |- warning: static property 'defaultUpdateInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUpdateInterval' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUpdateInterval' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public var eventsPublisher: AnyPublisher<SourceEvent, Never> {
[130/149] Compiling GatheredKitScreen SourceKind+screen.swift
[131/150] Compiling GatheredKitScreen Screen_macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
42 | */
43 | @ResolutionProperty
44 | public private(set) var resolution: CGSize
| `- error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:116:24: error: cannot infer contextual base in reference to member 'init'
114 | self.notificationCenter = notificationCenter
115 |
116 | _resolution = .init(
| `- error: cannot infer contextual base in reference to member 'init'
117 | id: id.identifierForChildPropertyWithId("resolution"),
118 | value: screen.frame.size,
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:119:20: error: cannot infer contextual base in reference to member 'pixels'
117 | id: id.identifierForChildPropertyWithId("resolution"),
118 | value: screen.frame.size,
119 | unit: .pixels
| `- error: cannot infer contextual base in reference to member 'pixels'
120 | )
121 | _colorSpace = .init(
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:156:30: warning: capture of 'self' with non-sendable type 'Screen?' in a '@Sendable' closure
5 |
6 | /// A wrapper around `NSScreen`.
7 | public final class Screen: UpdatingSource, Controllable {
| `- note: class 'Screen' does not conform to the 'Sendable' protocol
8 | private enum State {
9 | case notMonitoring
:
154 | queue: updatesQueue
155 | ) { [weak self] notification in
156 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'Screen?' in a '@Sendable' closure
157 | guard let screen = notification.object as? NSScreen else { return }
158 | self._colorSpace.updateValue(screen.colorSpace)
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:181:39: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
171 | Stop performing automatic date refreshes
172 | */
173 | public func stopUpdating() {
| `- note: add '@MainActor' to make instance method 'stopUpdating()' part of global actor 'MainActor'
174 | guard case .monitoring(let screenParametersObserver, let colorSpaceObserver, _) = state
175 | else { return }
:
179 | screenParametersObserver,
180 | name: NSApplication.didChangeScreenParametersNotification,
181 | object: NSApplication.shared
| `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
182 | )
183 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
| `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
[132/150] Compiling GatheredKitScreen ScreenProvider_macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
42 | */
43 | @ResolutionProperty
44 | public private(set) var resolution: CGSize
| `- error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
45 |
46 | /**
[133/150] Compiling GatheredKitScreen Screen_watchOS.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[134/150] Compiling GatheredKitScreen Screen_iOS_tvOS.swift
[143/150] Emitting module GatheredKitScreen
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
42 | */
43 | @ResolutionProperty
44 | public private(set) var resolution: CGSize
| `- error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Units/UnitResolution.swift:5:20: warning: class 'UnitResolution' must restate inherited '@unchecked Sendable' conformance
3 |
4 | /// Unit of measurement for screen resolution.
5 | public final class UnitResolution: Dimension {
| `- warning: class 'UnitResolution' must restate inherited '@unchecked Sendable' conformance
6 | public override class func baseUnit() -> UnitResolution {
7 | pixels
[144/150] Compiling GatheredKitScreen UnitResolution.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Units/UnitResolution.swift:5:20: warning: class 'UnitResolution' must restate inherited '@unchecked Sendable' conformance
3 |
4 | /// Unit of measurement for screen resolution.
5 | public final class UnitResolution: Dimension {
| `- warning: class 'UnitResolution' must restate inherited '@unchecked Sendable' conformance
6 | public override class func baseUnit() -> UnitResolution {
7 | pixels
[145/150] Compiling GatheredKitCamera SourceKind+camera.swift
[146/150] Emitting module GatheredKitCamera
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/47] Compiling GatheredKit Controllable.swift
[5/47] Compiling GatheredKit ControllableError.swift
[6/47] Compiling GatheredKit CustomisableUpdateIntervalControllable.swift
[7/47] Compiling GatheredKit OperationQueue+convenience.swift
[8/47] Compiling GatheredKit String+localized.swift
[9/47] Compiling GatheredKit ManuallyUpdatablePropertiesProvider.swift
[10/47] Compiling GatheredKit PropertiesProviding.swift
[11/47] Compiling GatheredKit AnySnapshot.swift
[12/47] Compiling GatheredKit BasicProperty.swift
[13/47] Compiling GatheredKit OptionalProperty.swift
[14/51] Emitting module GatheredKit
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Units/UnitMagneticField.swift:3:20: warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class UnitMagneticField: Dimension {
| `- warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
4 | public override class func baseUnit() -> UnitMagneticField {
5 | tesla
[15/51] Compiling GatheredKit UpdatableProperty.swift
[16/51] Compiling GatheredKit BasePollingSource.swift
[17/51] Compiling GatheredKit Source.swift
[18/51] Compiling GatheredKit SourceAvailability.swift
[19/51] Compiling GatheredKit SourceError.swift
[20/51] Compiling GatheredKit castToOptional.swift
[21/51] Compiling GatheredKit BoolProperty.swift
[22/51] Compiling GatheredKit AccelerationProperty.swift
[23/51] Compiling GatheredKit AngleProperty.swift
[24/51] Compiling GatheredKit AnyProperty+measurement.swift
[25/51] Compiling GatheredKit FrequencyProperty.swift
[26/51] Compiling GatheredKit LengthProperty.swift
[27/51] Compiling GatheredKit MagneticFieldProperty.swift
[28/51] Compiling GatheredKit MeasurementProperty.swift
[29/51] Compiling GatheredKit OptionalMeasurementProperty.swift
[30/51] Compiling GatheredKit SourceEvent.swift
[31/51] Compiling GatheredKit SourceIdentifier.swift
[32/51] Compiling GatheredKit SourceKind.swift
[33/51] Compiling GatheredKit UpdatingSource.swift
[34/51] Compiling GatheredKit ControllableSourceProvider.swift
[35/51] Compiling GatheredKit SingleSourceProvider.swift
[36/51] Compiling GatheredKit SourceProvider.swift
[37/51] Compiling GatheredKit SourceProviderEvent.swift
[38/51] Compiling GatheredKit PressureProperty.swift
[39/51] Compiling GatheredKit SpeedProperty.swift
[40/51] Compiling GatheredKit NumericProperties.swift
[41/51] Compiling GatheredKit PercentProperty.swift
[42/51] Compiling GatheredKit StringProperty.swift
[43/51] Compiling GatheredKit Property.swift
[44/51] Compiling GatheredKit PropertyIdentifier.swift
[45/51] Compiling GatheredKit ReadOnlyProperty.swift
[46/51] Compiling GatheredKit ScaleProperty.swift
[47/51] Compiling GatheredKit Snapshot.swift
[48/51] Compiling GatheredKit SourceProviderIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Units/UnitMagneticField.swift:3:20: warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class UnitMagneticField: Dimension {
| `- warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
4 | public override class func baseUnit() -> UnitMagneticField {
5 | tesla
[49/51] Compiling GatheredKit UpdatingSourceProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Units/UnitMagneticField.swift:3:20: warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class UnitMagneticField: Dimension {
| `- warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
4 | public override class func baseUnit() -> UnitMagneticField {
5 | tesla
[50/51] Compiling GatheredKit UnitFrequency+radiansPerSecond.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Units/UnitMagneticField.swift:3:20: warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class UnitMagneticField: Dimension {
| `- warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
4 | public override class func baseUnit() -> UnitMagneticField {
5 | tesla
[51/51] Compiling GatheredKit UnitMagneticField.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKit/Units/UnitMagneticField.swift:3:20: warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class UnitMagneticField: Dimension {
| `- warning: class 'UnitMagneticField' must restate inherited '@unchecked Sendable' conformance
4 | public override class func baseUnit() -> UnitMagneticField {
5 | tesla
[52/128] Emitting module GatheredKitTestHelpers
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitTestHelpers/Mocks/MockNotificationCenter.swift:3:20: warning: class 'MockNotificationCenter' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class MockNotificationCenter: NotificationCenter {
| `- warning: class 'MockNotificationCenter' must restate inherited '@unchecked Sendable' conformance
4 | public typealias AddObserverParameters = (
5 | name: Notification.Name?, object: Any?, queue: OperationQueue?,
[53/128] Compiling GatheredKitTestHelpers MockNotificationCenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitTestHelpers/Mocks/MockNotificationCenter.swift:3:20: warning: class 'MockNotificationCenter' must restate inherited '@unchecked Sendable' conformance
1 | import Foundation
2 |
3 | public final class MockNotificationCenter: NotificationCenter {
| `- warning: class 'MockNotificationCenter' must restate inherited '@unchecked Sendable' conformance
4 | public typealias AddObserverParameters = (
5 | name: Notification.Name?, object: Any?, queue: OperationQueue?,
[54/134] Compiling GatheredKitSystemStatistics SourceKind+memoryUsage.swift
[55/134] Compiling GatheredKitProcessInfo ThermalStateProperty.swift
[56/134] Emitting module GatheredKitDevice
[57/134] Compiling GatheredKitDevice BatteryStateProperty.swift
[58/134] Compiling GatheredKitDevice Battery.swift
[59/134] Compiling GatheredKitDevice SourceKind+battery.swift
[60/134] Compiling GatheredKitExternalAccessory SourceKind+externalAccessory.swift
[61/134] Emitting module GatheredKitUserTracking
[62/134] Compiling GatheredKitWiFi SourceKind+wifi.swift
[63/134] Emitting module GatheredKitWiFi
[64/134] Compiling GatheredKitProcessInfo SourceKind+thermalState.swift
[65/134] Emitting module GatheredKitProcessInfo
[66/134] Compiling GatheredKitProcessInfo ThermalState.swift
[67/134] Emitting module GatheredKitSystemStatistics
[68/134] Compiling GatheredKitSystemStatistics MemoryStatistics.swift
[69/134] Compiling GatheredKitUserTracking SourceKind+userTracking.swift
[70/134] Compiling GatheredKitUserTracking UserTracking.swift
[71/134] Emitting module GatheredKitLocation
[72/134] Compiling GatheredKitExternalAccessory ExternalAccessoryProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitExternalAccessory/ExternalAccessoryProvider.swift:97:18: warning: TODO: Perform a diff based on ids
95 |
96 | private func updateSources() {
97 | #warning("TODO: Perform a diff based on ids")
| `- warning: TODO: Perform a diff based on ids
98 | sources = accessoryManager.connectedAccessories.map { accessory in
99 | ExternalAccessory(accessory: accessory)
[73/134] Emitting module GatheredKitExternalAccessory
[74/134] Compiling GatheredKitExternalAccessory ExternalAccessory.swift
[75/134] Compiling GatheredKitLocation SourceKind+location.swift
[76/134] Compiling GatheredKitLocation CoordinatePropertyIdentifier.swift
[77/134] Compiling GatheredKitLocation CoordinateProperty.swift
[78/134] Compiling GatheredKitLocation CLLocationAuthorizationProperty.swift
[79/134] Compiling GatheredKitScreen SourceKind+screen.swift
[80/134] Compiling GatheredKitScreen Screen_watchOS.swift
[81/135] Compiling GatheredKitWiFi WiFi.swift
[82/135] Compiling GatheredKitWiFi WiFiProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/135] Emitting module GatheredKitScreen
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
42 | */
43 | @ResolutionProperty
44 | public private(set) var resolution: CGSize
| `- error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Units/UnitResolution.swift:5:20: warning: class 'UnitResolution' must restate inherited '@unchecked Sendable' conformance
3 |
4 | /// Unit of measurement for screen resolution.
5 | public final class UnitResolution: Dimension {
| `- warning: class 'UnitResolution' must restate inherited '@unchecked Sendable' conformance
6 | public override class func baseUnit() -> UnitResolution {
7 | pixels
[84/135] Compiling GatheredKitMotion CMAccelerationFormatter.swift
[85/135] Compiling GatheredKitMotion CMAttitudeFormatter.swift
[86/135] Compiling GatheredKitMotion CMCalibratedMagneticFieldFormatter.swift
[87/135] Compiling GatheredKitMotion CMMagneticFieldFormatter.swift
[88/138] Compiling GatheredKitScreen Screen_iOS_tvOS.swift
[89/138] Compiling GatheredKitScreen Screen_macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
42 | */
43 | @ResolutionProperty
44 | public private(set) var resolution: CGSize
| `- error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:116:24: error: cannot infer contextual base in reference to member 'init'
114 | self.notificationCenter = notificationCenter
115 |
116 | _resolution = .init(
| `- error: cannot infer contextual base in reference to member 'init'
117 | id: id.identifierForChildPropertyWithId("resolution"),
118 | value: screen.frame.size,
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:119:20: error: cannot infer contextual base in reference to member 'pixels'
117 | id: id.identifierForChildPropertyWithId("resolution"),
118 | value: screen.frame.size,
119 | unit: .pixels
| `- error: cannot infer contextual base in reference to member 'pixels'
120 | )
121 | _colorSpace = .init(
[92/138] Compiling GatheredKitLocation OptionalCoordinateProperty.swift
[93/138] Compiling GatheredKitLocation Location.swift
[94/138] Compiling GatheredKitMotion CMRotationRateFormatter.swift
[95/138] Compiling GatheredKitMotion MagneticFieldCalibrationAccuracyFormatter.swift
[96/138] Compiling GatheredKitScreen ScreenProvider_macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
42 | */
43 | @ResolutionProperty
44 | public private(set) var resolution: CGSize
| `- error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
45 |
46 | /**
[97/138] Compiling GatheredKitMotion CMLogItem+date.swift
[98/138] Compiling GatheredKitMotion CMMotionManager+shared.swift
[99/138] Compiling GatheredKitMotion DeviceMotion.swift
[100/138] Compiling GatheredKitMotion CMQuaternionFormatter.swift
[101/138] Compiling GatheredKitMotion CMRotationMatrixFormatter.swift
[104/138] Emitting module GatheredKitMotion
[105/138] Compiling GatheredKitMotion MagneticFieldCalibrationAccuracyProperty.swift
[106/138] Compiling GatheredKitMotion OptionalCMAbsoluteAltitudeDataProperty.swift
[107/138] Compiling GatheredKitMotion OptionalCMAccelerationProperty.swift
[108/138] Compiling GatheredKitMotion OptionalCMQuaternionProperty.swift
[109/138] Compiling GatheredKitMotion OptionalCMRotationMatrixProperty.swift
[110/138] Compiling GatheredKitMotion OptionalCMRotationRateProperty.swift
[111/138] Compiling GatheredKitMotion OptionalCMAttitudeProperty.swift
[112/138] Compiling GatheredKitMotion OptionalCMCalibratedMagneticFieldProperty.swift
[113/138] Compiling GatheredKitMotion OptionalCMMagneticFieldProperty.swift
[114/138] Compiling GatheredKitMotion CMAbsoluteAltitudeDataShim.swift
[115/138] Compiling GatheredKitMotion Accelerometer.swift
[116/138] Compiling GatheredKitMotion Altimeter.swift
[117/138] Compiling GatheredKitMotion CMMagneticFieldProperty.swift
[118/138] Compiling GatheredKitMotion CMQuaternionProperty.swift
[119/138] Compiling GatheredKitMotion CMRotationMatrixProperty.swift
[120/138] Compiling GatheredKitMotion CMRotationRateProperty.swift
[125/138] Compiling GatheredKitMotion CMAbsoluteAltitudeDataProperty.swift
[126/138] Compiling GatheredKitMotion CMAccelerationProperty.swift
[127/138] Compiling GatheredKitMotion CMAttitudeProperty.swift
[128/138] Compiling GatheredKitMotion CMCalibratedMagneticFieldProperty.swift
[129/138] Compiling GatheredKitScreen UnitResolution.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Units/UnitResolution.swift:5:20: warning: class 'UnitResolution' must restate inherited '@unchecked Sendable' conformance
3 |
4 | /// Unit of measurement for screen resolution.
5 | public final class UnitResolution: Dimension {
| `- warning: class 'UnitResolution' must restate inherited '@unchecked Sendable' conformance
6 | public override class func baseUnit() -> UnitResolution {
7 | pixels
[130/138] Compiling GatheredKitCamera SourceKind+camera.swift
BUILD FAILURE 6.1 macosSpm