Build Information
Successful build of SwiftLocation with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/malcommac/SwiftLocation.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftLocation
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6462097 Merge pull request #379 from grangej/master
Cloned https://github.com/malcommac/SwiftLocation.git
Revision (git rev-parse @):
64620973d0c19043845e82eac9ac1c1442537ce1
SUCCESS checkout https://github.com/malcommac/SwiftLocation.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/malcommac/SwiftLocation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/23] Emitting module SwiftLocation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Support/Extensions.swift:63:1: warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
61 | }
62 |
63 | extension CLAccuracyAuthorization: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
64 |
65 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Support/Extensions.swift:78:1: warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
76 | }
77 |
78 | extension CLAuthorizationStatus: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
79 |
80 | public var description: String {
[4/25] Compiling SwiftLocation SupportModels.swift
[5/25] Compiling SwiftLocation SwiftLocation.swift
[6/25] Compiling SwiftLocation AccuracyAuthorization.swift
[7/25] Compiling SwiftLocation AccuracyPermission.swift
[8/25] Compiling SwiftLocation AnyTask.swift
[9/25] Compiling SwiftLocation LocationServicesEnabled.swift
[10/25] Compiling SwiftLocation RegionMonitoring.swift
[11/25] Compiling SwiftLocation LocationManagerBridgeEvent.swift
[12/25] Compiling SwiftLocation LocationManagerProtocol.swift
[13/25] Compiling SwiftLocation VisitsMonitoring.swift
[14/25] Compiling SwiftLocation LocationAsyncBridge.swift
[15/25] Compiling SwiftLocation SignificantLocationMonitoring.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/SingleUpdateLocation.swift:99:17: warning: capture of 'self' with non-sendable type 'Tasks.SingleUpdateLocation?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | extension Tasks {
30 |
31 | public final class SingleUpdateLocation: AnyTask {
| `- note: class 'SingleUpdateLocation' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
:
97 |
98 | DispatchQueue.main.asyncAfter(deadline: .now() + timeout) { [weak self] in
99 | self?.continuation?.resume(throwing: LocationErrors.timeout)
| `- warning: capture of 'self' with non-sendable type 'Tasks.SingleUpdateLocation?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/SingleUpdateLocation.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.asyncAfter(deadline: .now() + timeout) { [weak self] in
99 | self?.continuation?.resume(throwing: LocationErrors.timeout)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
100 | }
101 | }
[16/25] Compiling SwiftLocation SingleUpdateLocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/SingleUpdateLocation.swift:99:17: warning: capture of 'self' with non-sendable type 'Tasks.SingleUpdateLocation?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | extension Tasks {
30 |
31 | public final class SingleUpdateLocation: AnyTask {
| `- note: class 'SingleUpdateLocation' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
:
97 |
98 | DispatchQueue.main.asyncAfter(deadline: .now() + timeout) { [weak self] in
99 | self?.continuation?.resume(throwing: LocationErrors.timeout)
| `- warning: capture of 'self' with non-sendable type 'Tasks.SingleUpdateLocation?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | }
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/SingleUpdateLocation.swift:99:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.asyncAfter(deadline: .now() + timeout) { [weak self] in
99 | self?.continuation?.resume(throwing: LocationErrors.timeout)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
100 | }
101 | }
[17/25] Compiling SwiftLocation HeadingMonitoring.swift
[18/25] Compiling SwiftLocation LocatePermission.swift
[19/25] Compiling SwiftLocation LocationDelegate.swift
[20/25] Compiling SwiftLocation LocationErrors.swift
[21/25] Compiling SwiftLocation Authorization.swift
[22/25] Compiling SwiftLocation BeaconMonitoring.swift
[23/25] Compiling SwiftLocation ContinuousUpdateLocation.swift
[24/25] Compiling SwiftLocation Location.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:70:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
68 | get async {
69 | await Task.detached {
70 | self.locationManager.locationServicesEnabled()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | }.value
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:167:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
165 | asyncBridge.add(task: task)
166 | stream.onTermination = { @Sendable _ in
167 | self.stopMonitoringLocationServices()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:188:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
186 | asyncBridge.add(task: task)
187 | stream.onTermination = { @Sendable _ in
188 | self.stopMonitoringAuthorization()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 | }
190 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:209:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
207 | asyncBridge.add(task: task)
208 | stream.onTermination = { @Sendable _ in
209 | self.stopMonitoringAccuracyAuthorization()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 | }
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:275:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
273 | locationManager.startUpdatingLocation()
274 | stream.onTermination = { @Sendable _ in
275 | self.asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
276 | }
277 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:275:47: warning: capture of 'task' with non-sendable type 'Tasks.ContinuousUpdateLocation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | locationManager.startUpdatingLocation()
274 | stream.onTermination = { @Sendable _ in
275 | self.asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.ContinuousUpdateLocation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
276 | }
277 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/ContinuousUpdateLocation.swift:31:24: note: class 'ContinuousUpdateLocation' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class ContinuousUpdateLocation: AnyTask {
| `- note: class 'ContinuousUpdateLocation' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:304:13: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
302 | try await task.run()
303 | } onCancel: {
304 | asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 | }
306 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:304:38: warning: capture of 'task' with non-sendable type 'Tasks.SingleUpdateLocation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
302 | try await task.run()
303 | } onCancel: {
304 | asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.SingleUpdateLocation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 | }
306 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/SingleUpdateLocation.swift:31:24: note: class 'SingleUpdateLocation' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class SingleUpdateLocation: AnyTask {
| `- note: class 'SingleUpdateLocation' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:322:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
320 | locationManager.startMonitoring(for: region)
321 | stream.onTermination = { @Sendable _ in
322 | self.asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
323 | }
324 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:322:47: warning: capture of 'task' with non-sendable type 'Tasks.RegionMonitoring' in a `@Sendable` closure; this is an error in the Swift 6 language mode
320 | locationManager.startMonitoring(for: region)
321 | stream.onTermination = { @Sendable _ in
322 | self.asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.RegionMonitoring' in a `@Sendable` closure; this is an error in the Swift 6 language mode
323 | }
324 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/RegionMonitoring.swift:31:24: note: class 'RegionMonitoring' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class RegionMonitoring: AnyTask {
| `- note: class 'RegionMonitoring' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:350:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
348 | locationManager.startMonitoringVisits()
349 | stream.onTermination = { @Sendable _ in
350 | self.stopMonitoringVisits()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
351 | }
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:375:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
373 | locationManager.startMonitoringSignificantLocationChanges()
374 | stream.onTermination = { @Sendable _ in
375 | self.stopMonitoringSignificantLocationChanges()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
376 | }
377 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:426:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
424 | locationManager.startRangingBeacons(satisfying: satisfying)
425 | stream.onTermination = { @Sendable _ in
426 | self.stopRangingBeacons(satisfying: satisfying)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
427 | }
428 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:453:13: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
451 | try await task.requestTemporaryPermission(purposeKey: purposeKey)
452 | } onCancel: {
453 | asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:453:38: warning: capture of 'task' with non-sendable type 'Tasks.AccuracyPermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
451 | try await task.requestTemporaryPermission(purposeKey: purposeKey)
452 | } onCancel: {
453 | asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.AccuracyPermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/AccuracyPermission.swift:31:24: note: class 'AccuracyPermission' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class AccuracyPermission: AnyTask {
| `- note: class 'AccuracyPermission' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:465:13: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
463 | try await task.requestWhenInUsePermission()
464 | } onCancel: {
465 | asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
466 | }
467 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:465:38: warning: capture of 'task' with non-sendable type 'Tasks.LocatePermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
463 | try await task.requestWhenInUsePermission()
464 | } onCancel: {
465 | asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.LocatePermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
466 | }
467 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/LocatePermission.swift:31:24: note: class 'LocatePermission' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class LocatePermission: AnyTask {
| `- note: class 'LocatePermission' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:478:13: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
476 | try await task.requestAlwaysPermission()
477 | } onCancel: {
478 | asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
479 | }
480 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:478:38: warning: capture of 'task' with non-sendable type 'Tasks.LocatePermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
476 | try await task.requestAlwaysPermission()
477 | } onCancel: {
478 | asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.LocatePermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
479 | }
480 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/LocatePermission.swift:31:24: note: class 'LocatePermission' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class LocatePermission: AnyTask {
| `- note: class 'LocatePermission' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Support/Extensions.swift:63:1: warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
61 | }
62 |
63 | extension CLAccuracyAuthorization: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
64 |
65 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Support/Extensions.swift:78:1: warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
76 | }
77 |
78 | extension CLAuthorizationStatus: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
79 |
80 | public var description: String {
[25/25] Compiling SwiftLocation Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:70:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
68 | get async {
69 | await Task.detached {
70 | self.locationManager.locationServicesEnabled()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | }.value
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:167:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
165 | asyncBridge.add(task: task)
166 | stream.onTermination = { @Sendable _ in
167 | self.stopMonitoringLocationServices()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:188:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
186 | asyncBridge.add(task: task)
187 | stream.onTermination = { @Sendable _ in
188 | self.stopMonitoringAuthorization()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 | }
190 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:209:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
207 | asyncBridge.add(task: task)
208 | stream.onTermination = { @Sendable _ in
209 | self.stopMonitoringAccuracyAuthorization()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 | }
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:275:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
273 | locationManager.startUpdatingLocation()
274 | stream.onTermination = { @Sendable _ in
275 | self.asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
276 | }
277 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:275:47: warning: capture of 'task' with non-sendable type 'Tasks.ContinuousUpdateLocation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | locationManager.startUpdatingLocation()
274 | stream.onTermination = { @Sendable _ in
275 | self.asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.ContinuousUpdateLocation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
276 | }
277 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/ContinuousUpdateLocation.swift:31:24: note: class 'ContinuousUpdateLocation' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class ContinuousUpdateLocation: AnyTask {
| `- note: class 'ContinuousUpdateLocation' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:304:13: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
302 | try await task.run()
303 | } onCancel: {
304 | asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 | }
306 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:304:38: warning: capture of 'task' with non-sendable type 'Tasks.SingleUpdateLocation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
302 | try await task.run()
303 | } onCancel: {
304 | asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.SingleUpdateLocation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 | }
306 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/SingleUpdateLocation.swift:31:24: note: class 'SingleUpdateLocation' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class SingleUpdateLocation: AnyTask {
| `- note: class 'SingleUpdateLocation' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:322:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
320 | locationManager.startMonitoring(for: region)
321 | stream.onTermination = { @Sendable _ in
322 | self.asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
323 | }
324 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:322:47: warning: capture of 'task' with non-sendable type 'Tasks.RegionMonitoring' in a `@Sendable` closure; this is an error in the Swift 6 language mode
320 | locationManager.startMonitoring(for: region)
321 | stream.onTermination = { @Sendable _ in
322 | self.asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.RegionMonitoring' in a `@Sendable` closure; this is an error in the Swift 6 language mode
323 | }
324 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/RegionMonitoring.swift:31:24: note: class 'RegionMonitoring' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class RegionMonitoring: AnyTask {
| `- note: class 'RegionMonitoring' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:350:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
348 | locationManager.startMonitoringVisits()
349 | stream.onTermination = { @Sendable _ in
350 | self.stopMonitoringVisits()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
351 | }
352 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:375:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
373 | locationManager.startMonitoringSignificantLocationChanges()
374 | stream.onTermination = { @Sendable _ in
375 | self.stopMonitoringSignificantLocationChanges()
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
376 | }
377 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:426:17: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
424 | locationManager.startRangingBeacons(satisfying: satisfying)
425 | stream.onTermination = { @Sendable _ in
426 | self.stopRangingBeacons(satisfying: satisfying)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
427 | }
428 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:453:13: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
451 | try await task.requestTemporaryPermission(purposeKey: purposeKey)
452 | } onCancel: {
453 | asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:453:38: warning: capture of 'task' with non-sendable type 'Tasks.AccuracyPermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
451 | try await task.requestTemporaryPermission(purposeKey: purposeKey)
452 | } onCancel: {
453 | asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.AccuracyPermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
454 | }
455 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/AccuracyPermission.swift:31:24: note: class 'AccuracyPermission' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class AccuracyPermission: AnyTask {
| `- note: class 'AccuracyPermission' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:465:13: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
463 | try await task.requestWhenInUsePermission()
464 | } onCancel: {
465 | asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
466 | }
467 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:465:38: warning: capture of 'task' with non-sendable type 'Tasks.LocatePermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
463 | try await task.requestWhenInUsePermission()
464 | } onCancel: {
465 | asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.LocatePermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
466 | }
467 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/LocatePermission.swift:31:24: note: class 'LocatePermission' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class LocatePermission: AnyTask {
| `- note: class 'LocatePermission' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:478:13: warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | /// Instantiate this class to query and setup the Location Services and all the function
30 | /// of the library itself.
31 | public final class Location {
| `- note: class 'Location' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Private Properties
:
476 | try await task.requestAlwaysPermission()
477 | } onCancel: {
478 | asyncBridge.cancel(task: task)
| `- warning: capture of 'self' with non-sendable type 'Location' in a `@Sendable` closure; this is an error in the Swift 6 language mode
479 | }
480 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Location.swift:478:38: warning: capture of 'task' with non-sendable type 'Tasks.LocatePermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
476 | try await task.requestAlwaysPermission()
477 | } onCancel: {
478 | asyncBridge.cancel(task: task)
| `- warning: capture of 'task' with non-sendable type 'Tasks.LocatePermission' in a `@Sendable` closure; this is an error in the Swift 6 language mode
479 | }
480 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Async Tasks/LocatePermission.swift:31:24: note: class 'LocatePermission' does not conform to the 'Sendable' protocol
29 | extension Tasks {
30 |
31 | public final class LocatePermission: AnyTask {
| `- note: class 'LocatePermission' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Support Structures
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Support/Extensions.swift:63:1: warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
61 | }
62 |
63 | extension CLAccuracyAuthorization: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
64 |
65 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Support/Extensions.swift:78:1: warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
76 | }
77 |
78 | extension CLAuthorizationStatus: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
79 |
80 | public var description: String {
Build complete! (26.94s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftLocation",
"name" : "SwiftLocation",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "SwiftLocation",
"targets" : [
"SwiftLocation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLocationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLocationTests",
"path" : "Tests/SwiftLocationTests",
"sources" : [
"MockedLocationManager.swift",
"SwiftLocationTests.swift"
],
"target_dependencies" : [
"SwiftLocation"
],
"type" : "test"
},
{
"c99name" : "SwiftLocation",
"module_type" : "SwiftTarget",
"name" : "SwiftLocation",
"path" : "Sources/SwiftLocation",
"product_memberships" : [
"SwiftLocation"
],
"sources" : [
"Async Tasks/AccuracyAuthorization.swift",
"Async Tasks/AccuracyPermission.swift",
"Async Tasks/AnyTask.swift",
"Async Tasks/Authorization.swift",
"Async Tasks/BeaconMonitoring.swift",
"Async Tasks/ContinuousUpdateLocation.swift",
"Async Tasks/HeadingMonitoring.swift",
"Async Tasks/LocatePermission.swift",
"Async Tasks/LocationServicesEnabled.swift",
"Async Tasks/RegionMonitoring.swift",
"Async Tasks/SignificantLocationMonitoring.swift",
"Async Tasks/SingleUpdateLocation.swift",
"Async Tasks/VisitsMonitoring.swift",
"Location Managers/LocationAsyncBridge.swift",
"Location Managers/LocationManagerBridgeEvent.swift",
"Location Managers/LocationManagerProtocol.swift",
"Location.swift",
"Support/Extensions.swift",
"Support/LocationDelegate.swift",
"Support/LocationErrors.swift",
"Support/SupportModels.swift",
"SwiftLocation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.