The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build d3-async-location, reference main (04ec13), with Swift 6.0 (beta) for macOS (SPM) on 14 Sep 2024 19:30:00 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/igor11191708/d3-async-location.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/igor11191708/d3-async-location
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 04ec135 Update .spi.yml
Cloned https://github.com/igor11191708/d3-async-location.git
Revision (git rev-parse @):
04ec13504e10d8d6f379d7cf912a6ea4bff23685
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/igor11191708/d3-async-location.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/igor11191708/d3-async-location.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun 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-117DEE11B69C53C9.txt
[3/12] Compiling d3_async_location ILocationManagerAsync.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationManagerAsync.swift:15:17: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 14.0, watchOS 7.0, *)
12 | protocol ILocationManagerAsync{
   |          `- note: add @available attribute to enclosing protocol
13 |
14 |     /// Check status and get stream of async data
15 |     var start : AsyncThrowingStream<CLLocation, Error> { get async throws }
   |         |       `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
16 |
17 |     /// Stop streaming
[4/13] Compiling d3_async_location LocationStreamigState.swift
[5/13] Compiling d3_async_location LocationManagerAsync.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:25:29: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 10 | ///Location manager streaming data asynchronously via instance of `AsyncThrowingStream` returning from ``start`` asking permission in advance if it's not determined.
 11 | @available(iOS 14.0, watchOS 7.0, *)
 12 | final class LocationManagerAsync: ILocationManagerAsync{
    |             `- note: add @available attribute to enclosing class
 13 |
 14 |     // MARK: - Private properties
    :
 23 |
 24 |     /// Async stream of ``CLLocation``
 25 |     private var locations : AsyncThrowingStream<CLLocation, Error> {
    |                 |           `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 26 |         AsyncThrowingStream<CLLocation, Error>(CLLocation.self) { continuation in
 27 |             streaming(with: continuation)
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:57:24: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 10 | ///Location manager streaming data asynchronously via instance of `AsyncThrowingStream` returning from ``start`` asking permission in advance if it's not determined.
 11 | @available(iOS 14.0, watchOS 7.0, *)
 12 | final class LocationManagerAsync: ILocationManagerAsync{
    |             `- note: add @available attribute to enclosing class
 13 |
 14 |     // MARK: - Private properties
    :
 55 |
 56 |     /// Check status and get stream of async data Throw an error ``AsyncLocationErrors`` if permission is not granted
 57 |     public var start : AsyncThrowingStream<CLLocation, Error>{
    |                |       `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 58 |         get async throws {
 59 |             let permission = Permission(with: manager.authorizationStatus)
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:26:9: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 10 | ///Location manager streaming data asynchronously via instance of `AsyncThrowingStream` returning from ``start`` asking permission in advance if it's not determined.
 11 | @available(iOS 14.0, watchOS 7.0, *)
 12 | final class LocationManagerAsync: ILocationManagerAsync{
    |             `- note: add @available attribute to enclosing class
 13 |
 14 |     // MARK: - Private properties
    :
 23 |
 24 |     /// Async stream of ``CLLocation``
 25 |     private var locations : AsyncThrowingStream<CLLocation, Error> {
    |                 `- note: add @available attribute to enclosing property
 26 |         AsyncThrowingStream<CLLocation, Error>(CLLocation.self) { continuation in
    |         |- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 27 |             streaming(with: continuation)
 28 |         }
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:59:55: error: 'authorizationStatus' is only available in macOS 11.0 or newer
 10 | ///Location manager streaming data asynchronously via instance of `AsyncThrowingStream` returning from ``start`` asking permission in advance if it's not determined.
 11 | @available(iOS 14.0, watchOS 7.0, *)
 12 | final class LocationManagerAsync: ILocationManagerAsync{
    |             `- note: add @available attribute to enclosing class
 13 |
 14 |     // MARK: - Private properties
    :
 55 |
 56 |     /// Check status and get stream of async data Throw an error ``AsyncLocationErrors`` if permission is not granted
 57 |     public var start : AsyncThrowingStream<CLLocation, Error>{
    |                `- note: add @available attribute to enclosing property
 58 |         get async throws {
 59 |             let permission = Permission(with: manager.authorizationStatus)
    |                                                       |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
    |                                                       `- note: add 'if #available' version check
 60 |
 61 |             try await permission.grant(for: manager)
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:106:17: error: 'activityType' is only available in macOS 10.15 or newer
 10 | ///Location manager streaming data asynchronously via instance of `AsyncThrowingStream` returning from ``start`` asking permission in advance if it's not determined.
 11 | @available(iOS 14.0, watchOS 7.0, *)
 12 | final class LocationManagerAsync: ILocationManagerAsync{
    |             `- note: add @available attribute to enclosing class
 13 |
 14 |     // MARK: - Private properties
    :
 97 |     ///   - distanceFilter: A distance in meters from an existing location.
 98 |     ///   - backgroundUpdates: A Boolean value that indicates whether the app receives location updates when running in the background
 99 |     private func updateSettings(_ accuracy : CLLocationAccuracy?,
    |                  `- note: add @available attribute to enclosing instance method
100 |                                 _ activityType: CLActivityType?,
101 |                                 _ distanceFilter: CLLocationDistance?,
    :
104 |         manager.delegate = delegate
105 |         manager.desiredAccuracy = accuracy ?? kCLLocationAccuracyBest
106 |         manager.activityType = activityType ?? .other
    |                 |- error: 'activityType' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
107 |         manager.distanceFilter = distanceFilter ?? kCLDistanceFilterNone
108 |         #if !os(visionOS)
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:109:17: error: 'allowsBackgroundLocationUpdates' is only available in macOS 10.15 or newer
 10 | ///Location manager streaming data asynchronously via instance of `AsyncThrowingStream` returning from ``start`` asking permission in advance if it's not determined.
 11 | @available(iOS 14.0, watchOS 7.0, *)
 12 | final class LocationManagerAsync: ILocationManagerAsync{
    |             `- note: add @available attribute to enclosing class
 13 |
 14 |     // MARK: - Private properties
    :
 97 |     ///   - distanceFilter: A distance in meters from an existing location.
 98 |     ///   - backgroundUpdates: A Boolean value that indicates whether the app receives location updates when running in the background
 99 |     private func updateSettings(_ accuracy : CLLocationAccuracy?,
    |                  `- note: add @available attribute to enclosing instance method
100 |                                 _ activityType: CLActivityType?,
101 |                                 _ distanceFilter: CLLocationDistance?,
    :
107 |         manager.distanceFilter = distanceFilter ?? kCLDistanceFilterNone
108 |         #if !os(visionOS)
109 |         manager.allowsBackgroundLocationUpdates = backgroundUpdates
    |                 |- error: 'allowsBackgroundLocationUpdates' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
110 |         #endif
111 |     }
[6/13] Compiling d3_async_location Strategy.swift
[7/13] Compiling d3_async_location Delegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:21:21: warning: capture of 'self' with non-sendable type 'LocationManagerAsync.Delegate?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 |     /// The location manager calls its delegate’s methods to report location-related events to your app.
14 |     @available(iOS 14.0, watchOS 7.0, *)
15 |     final class Delegate: NSObject, ILocationDelegate{
   |                 `- note: class 'Delegate' does not conform to the 'Sendable' protocol
16 |
17 |         /// Continuation passing location data
   :
19 |             didSet {
20 |                 stream?.onTermination = { @Sendable [weak self] termination in
21 |                     self?.onTermination(termination)
   |                     `- warning: capture of 'self' with non-sendable type 'LocationManagerAsync.Delegate?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 |                 }
23 |             }
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:83:37: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 8 | import CoreLocation
 9 |
10 | extension LocationManagerAsync{
   | `- note: add @available attribute to enclosing extension
11 |
12 |     /// The methods that you use to receive events from an associated location-manager object
   :
81 |     // MARK: - Alias types -
82 |
83 |     private typealias Termination = AsyncThrowingStream<CLLocation, Error>.Continuation.Termination
   |                       |             `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing type alias
84 |
85 |     typealias Streaming = AsyncThrowingStream<CLLocation, Error>.Continuation
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:85:27: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 8 | import CoreLocation
 9 |
10 | extension LocationManagerAsync{
   | `- note: add @available attribute to enclosing extension
11 |
12 |     /// The methods that you use to receive events from an associated location-manager object
   :
83 |     private typealias Termination = AsyncThrowingStream<CLLocation, Error>.Continuation.Termination
84 |
85 |     typealias Streaming = AsyncThrowingStream<CLLocation, Error>.Continuation
   |               |           `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
86 |
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:39:99: error: 'authorizationStatus' is only available in macOS 11.0 or newer
13 |     /// The location manager calls its delegate’s methods to report location-related events to your app.
14 |     @available(iOS 14.0, watchOS 7.0, *)
15 |     final class Delegate: NSObject, ILocationDelegate{
   |                 `- note: add @available attribute to enclosing class
16 |
17 |         /// Continuation passing location data
   :
36 |         /// Notify about location manager changed authorization status
37 |         /// - Parameter manager: Location manager
38 |         public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
   |                     `- note: add @available attribute to enclosing instance method
39 |             NotificationCenter.default.post(name: Permission.authorizationStatus, object: manager.authorizationStatus)
   |                                                                                                   |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
   |                                                                                                   `- note: add 'if #available' version check
40 |         }
41 |
[8/13] Compiling d3_async_location LMViewModel.swift
<unknown>:0: error: cannot convert value of type 'KeyPath<LMViewModel, [CLLocation]>' to expected argument type 'ReferenceWritableKeyPath<LMViewModel, [CLLocation]>'
<unknown>:0: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:25:17: error: 'Published' is only available in macOS 10.15 or newer
 14 | /// Call method start() within async environment to start async stream of locations
 15 | @available(iOS 14.0, watchOS 7.0, *)
 16 | public final class LMViewModel: ILocationManagerViewModel{
    |                    `- note: add @available attribute to enclosing class
 17 |
 18 |     // MARK: - Public
    :
 23 |     /// List of locations Subscribe different Views to locations publisher to feed them
 24 |     /// or create a proxy to manipulate with the flow like filtering, dropping, mapping etc
 25 |     @MainActor @Published public private(set) var locations : [CLLocation] = []
    |                 `- error: 'Published' is only available in macOS 10.15 or newer
 26 |
 27 |     // MARK: - Private
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:83:21: warning: non-sendable type 'LMViewModel' passed in implicitly asynchronous call to main actor-isolated property 'isIdle' cannot cross actor boundary; this is an error in the Swift 6 language mode
 14 | /// Call method start() within async environment to start async stream of locations
 15 | @available(iOS 14.0, watchOS 7.0, *)
 16 | public final class LMViewModel: ILocationManagerViewModel{
    |                    `- note: class 'LMViewModel' does not conform to the 'Sendable' protocol
 17 |
 18 |     // MARK: - Public
    :
 81 |     /// Start streaming locations
 82 |     public func start() async throws{
 83 |         guard await isIdle else{
    |                     `- warning: non-sendable type 'LMViewModel' passed in implicitly asynchronous call to main actor-isolated property 'isIdle' cannot cross actor boundary; this is an error in the Swift 6 language mode
 84 |             throw AsyncLocationErrors.streamingProcessHasAlreadyStarted
 85 |         }
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:120:13: error: cannot pass as inout because setter for 'locations' is only available in macOS 10.15 or newer
 14 | /// Call method start() within async environment to start async stream of locations
 15 | @available(iOS 14.0, watchOS 7.0, *)
 16 | public final class LMViewModel: ILocationManagerViewModel{
    |                    `- note: add @available attribute to enclosing class
 17 |
 18 |     // MARK: - Public
    :
116 |     /// - Parameter coordinate: data
117 |     @MainActor
118 |     private func add(_ coordinate : CLLocation) {
    |                  `- note: add @available attribute to enclosing instance method
119 |         if strategy.isKeepAll || locations.isEmpty{
120 |             locations.append(coordinate)
    |             |- error: cannot pass as inout because setter for 'locations' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
121 |         }else if strategy.isKeepLast{
122 |             locations[0] = coordinate
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:122:13: error: cannot pass as inout because setter for 'locations' is only available in macOS 10.15 or newer
 14 | /// Call method start() within async environment to start async stream of locations
 15 | @available(iOS 14.0, watchOS 7.0, *)
 16 | public final class LMViewModel: ILocationManagerViewModel{
    |                    `- note: add @available attribute to enclosing class
 17 |
 18 |     // MARK: - Public
    :
116 |     /// - Parameter coordinate: data
117 |     @MainActor
118 |     private func add(_ coordinate : CLLocation) {
    |                  `- note: add @available attribute to enclosing instance method
119 |         if strategy.isKeepAll || locations.isEmpty{
120 |             locations.append(coordinate)
121 |         }else if strategy.isKeepLast{
122 |             locations[0] = coordinate
    |             |- error: cannot pass as inout because setter for 'locations' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
123 |         }
124 |     }
[9/13] Compiling d3_async_location AsyncLocationErrors.swift
[10/13] Compiling d3_async_location ILocationManagerViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationManagerViewModel.swift:12:44: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 14.0, watchOS 7.0, *)
12 | public protocol ILocationManagerViewModel: ObservableObject{
   |                 |                          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
13 |
14 |     /// List of locations
[11/13] Compiling d3_async_location ILocationDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:14:17: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 14.0, watchOS 7.0, *)
12 | public protocol ILocationDelegate: NSObjectProtocol, CLLocationManagerDelegate{
   |                 `- note: add @available attribute to enclosing protocol
13 |
14 |     var stream: AsyncThrowingStream<CLLocation, Error>.Continuation? {get set}
   |         |       `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
15 |
16 |     /// Set stream
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:18:40: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 14.0, watchOS 7.0, *)
12 | public protocol ILocationDelegate: NSObjectProtocol, CLLocationManagerDelegate{
   |                 `- note: add @available attribute to enclosing protocol
13 |
14 |     var stream: AsyncThrowingStream<CLLocation, Error>.Continuation? {get set}
   :
16 |     /// Set stream
17 |     /// - Parameter continuation: Continuation passing location data
18 |     func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation)
   |          |                             `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |
20 |     /// Stop streaming
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:28:47: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
22 | }
23 |
24 | extension ILocationDelegate{
   | `- note: add @available attribute to enclosing extension
25 |
26 |     /// Set stream
27 |     /// - Parameter continuation: Continuation passing location data
28 |     public func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation){
   |                 |                             `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
29 |         stream = continuation
30 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/13] Emitting module d3_async_location
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:21:21: warning: capture of 'self' with non-sendable type 'LocationManagerAsync.Delegate?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 |     /// The location manager calls its delegate’s methods to report location-related events to your app.
14 |     @available(iOS 14.0, watchOS 7.0, *)
15 |     final class Delegate: NSObject, ILocationDelegate{
   |                 `- note: class 'Delegate' does not conform to the 'Sendable' protocol
16 |
17 |         /// Continuation passing location data
   :
19 |             didSet {
20 |                 stream?.onTermination = { @Sendable [weak self] termination in
21 |                     self?.onTermination(termination)
   |                     `- warning: capture of 'self' with non-sendable type 'LocationManagerAsync.Delegate?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 |                 }
23 |             }
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:83:37: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 8 | import CoreLocation
 9 |
10 | extension LocationManagerAsync{
   | `- note: add @available attribute to enclosing extension
11 |
12 |     /// The methods that you use to receive events from an associated location-manager object
   :
81 |     // MARK: - Alias types -
82 |
83 |     private typealias Termination = AsyncThrowingStream<CLLocation, Error>.Continuation.Termination
   |                       |             `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing type alias
84 |
85 |     typealias Streaming = AsyncThrowingStream<CLLocation, Error>.Continuation
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:85:27: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 8 | import CoreLocation
 9 |
10 | extension LocationManagerAsync{
   | `- note: add @available attribute to enclosing extension
11 |
12 |     /// The methods that you use to receive events from an associated location-manager object
   :
83 |     private typealias Termination = AsyncThrowingStream<CLLocation, Error>.Continuation.Termination
84 |
85 |     typealias Streaming = AsyncThrowingStream<CLLocation, Error>.Continuation
   |               |           `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
86 |
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:27:28: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 14 |     /// Helper class to determine permission to get access for streaming ``CLLocation``
 15 |     @available(iOS 14.0, watchOS 7.0, *)
 16 |     final class Permission{
    |                 `- note: add @available attribute to enclosing class
 17 |
 18 |         /// Name of notification for event location manager changed authorization status
    :
 25 |
 26 |         /// Continuation to get permission if status is not defined
 27 |         private var flow : CheckedContinuation<CLAuthorizationStatus, Never>?
    |                            `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 28 |
 29 |         /// Check if status is determined
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:35:34: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 14 |     /// Helper class to determine permission to get access for streaming ``CLLocation``
 15 |     @available(iOS 14.0, watchOS 7.0, *)
 16 |     final class Permission{
    |                 `- note: add @available attribute to enclosing class
 17 |
 18 |         /// Name of notification for event location manager changed authorization status
    :
 33 |
 34 |         /// Subscription to authorization status changes
 35 |         private var cancelable : AnyCancellable?
    |                                  `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 36 |
 37 |         // MARK: - Life circle
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:107:51: error: 'Publisher' is only available in macOS 10.15 or newer
105 | // MARK: - Alias types -
106 |
107 | fileprivate typealias Output = NotificationCenter.Publisher.Output
    |                                                   `- error: 'Publisher' is only available in macOS 10.15 or newer
108 |
109 | // MARK: - Extensions -
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:25:29: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 10 | ///Location manager streaming data asynchronously via instance of `AsyncThrowingStream` returning from ``start`` asking permission in advance if it's not determined.
 11 | @available(iOS 14.0, watchOS 7.0, *)
 12 | final class LocationManagerAsync: ILocationManagerAsync{
    |             `- note: add @available attribute to enclosing class
 13 |
 14 |     // MARK: - Private properties
    :
 23 |
 24 |     /// Async stream of ``CLLocation``
 25 |     private var locations : AsyncThrowingStream<CLLocation, Error> {
    |                 |           `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 26 |         AsyncThrowingStream<CLLocation, Error>(CLLocation.self) { continuation in
 27 |             streaming(with: continuation)
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:57:24: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 10 | ///Location manager streaming data asynchronously via instance of `AsyncThrowingStream` returning from ``start`` asking permission in advance if it's not determined.
 11 | @available(iOS 14.0, watchOS 7.0, *)
 12 | final class LocationManagerAsync: ILocationManagerAsync{
    |             `- note: add @available attribute to enclosing class
 13 |
 14 |     // MARK: - Private properties
    :
 55 |
 56 |     /// Check status and get stream of async data Throw an error ``AsyncLocationErrors`` if permission is not granted
 57 |     public var start : AsyncThrowingStream<CLLocation, Error>{
    |                |       `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 58 |         get async throws {
 59 |             let permission = Permission(with: manager.authorizationStatus)
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:14:17: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 14.0, watchOS 7.0, *)
12 | public protocol ILocationDelegate: NSObjectProtocol, CLLocationManagerDelegate{
   |                 `- note: add @available attribute to enclosing protocol
13 |
14 |     var stream: AsyncThrowingStream<CLLocation, Error>.Continuation? {get set}
   |         |       `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
15 |
16 |     /// Set stream
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:18:40: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 14.0, watchOS 7.0, *)
12 | public protocol ILocationDelegate: NSObjectProtocol, CLLocationManagerDelegate{
   |                 `- note: add @available attribute to enclosing protocol
13 |
14 |     var stream: AsyncThrowingStream<CLLocation, Error>.Continuation? {get set}
   :
16 |     /// Set stream
17 |     /// - Parameter continuation: Continuation passing location data
18 |     func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation)
   |          |                             `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |
20 |     /// Stop streaming
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:28:47: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
22 | }
23 |
24 | extension ILocationDelegate{
   | `- note: add @available attribute to enclosing extension
25 |
26 |     /// Set stream
27 |     /// - Parameter continuation: Continuation passing location data
28 |     public func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation){
   |                 |                             `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
29 |         stream = continuation
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationManagerAsync.swift:15:17: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 14.0, watchOS 7.0, *)
12 | protocol ILocationManagerAsync{
   |          `- note: add @available attribute to enclosing protocol
13 |
14 |     /// Check status and get stream of async data
15 |     var start : AsyncThrowingStream<CLLocation, Error> { get async throws }
   |         |       `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
16 |
17 |     /// Stop streaming
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationManagerViewModel.swift:12:44: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 14.0, watchOS 7.0, *)
12 | public protocol ILocationManagerViewModel: ObservableObject{
   |                 |                          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
13 |
14 |     /// List of locations
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:25:17: error: 'Published' is only available in macOS 10.15 or newer
 14 | /// Call method start() within async environment to start async stream of locations
 15 | @available(iOS 14.0, watchOS 7.0, *)
 16 | public final class LMViewModel: ILocationManagerViewModel{
    |                    `- note: add @available attribute to enclosing class
 17 |
 18 |     // MARK: - Public
    :
 23 |     /// List of locations Subscribe different Views to locations publisher to feed them
 24 |     /// or create a proxy to manipulate with the flow like filtering, dropping, mapping etc
 25 |     @MainActor @Published public private(set) var locations : [CLLocation] = []
    |                 `- error: 'Published' is only available in macOS 10.15 or newer
 26 |
 27 |     // MARK: - Private
[13/13] Compiling d3_async_location Permission.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:27:28: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 14 |     /// Helper class to determine permission to get access for streaming ``CLLocation``
 15 |     @available(iOS 14.0, watchOS 7.0, *)
 16 |     final class Permission{
    |                 `- note: add @available attribute to enclosing class
 17 |
 18 |         /// Name of notification for event location manager changed authorization status
    :
 25 |
 26 |         /// Continuation to get permission if status is not defined
 27 |         private var flow : CheckedContinuation<CLAuthorizationStatus, Never>?
    |                            `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 28 |
 29 |         /// Check if status is determined
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:35:34: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 14 |     /// Helper class to determine permission to get access for streaming ``CLLocation``
 15 |     @available(iOS 14.0, watchOS 7.0, *)
 16 |     final class Permission{
    |                 `- note: add @available attribute to enclosing class
 17 |
 18 |         /// Name of notification for event location manager changed authorization status
    :
 33 |
 34 |         /// Subscription to authorization status changes
 35 |         private var cancelable : AnyCancellable?
    |                                  `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 36 |
 37 |         // MARK: - Life circle
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:107:51: error: 'Publisher' is only available in macOS 10.15 or newer
105 | // MARK: - Alias types -
106 |
107 | fileprivate typealias Output = NotificationCenter.Publisher.Output
    |                                                   `- error: 'Publisher' is only available in macOS 10.15 or newer
108 |
109 | // MARK: - Extensions -
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:66:53: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
 14 |     /// Helper class to determine permission to get access for streaming ``CLLocation``
 15 |     @available(iOS 14.0, watchOS 7.0, *)
 16 |     final class Permission{
    |                 `- note: add @available attribute to enclosing class
 17 |
 18 |         /// Name of notification for event location manager changed authorization status
    :
 62 |
 63 |         /// Subscribe for event when location manager change authorization status to go on access permission flow
 64 |         private func initSubscription(){
    |                      `- note: add @available attribute to enclosing instance method
 65 |             let name = Permission.authorizationStatus
 66 |             cancelable = NotificationCenter.default.publisher(for: name)
    |                                                     |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
    |                                                     `- note: add 'if #available' version check
 67 |                 .sink { [weak self] value in
 68 |                     self?.statusChanged(value)
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:67:18: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 14 |     /// Helper class to determine permission to get access for streaming ``CLLocation``
 15 |     @available(iOS 14.0, watchOS 7.0, *)
 16 |     final class Permission{
    |                 `- note: add @available attribute to enclosing class
 17 |
 18 |         /// Name of notification for event location manager changed authorization status
    :
 62 |
 63 |         /// Subscribe for event when location manager change authorization status to go on access permission flow
 64 |         private func initSubscription(){
    |                      `- note: add @available attribute to enclosing instance method
 65 |             let name = Permission.authorizationStatus
 66 |             cancelable = NotificationCenter.default.publisher(for: name)
 67 |                 .sink { [weak self] value in
    |                  |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 68 |                     self?.statusChanged(value)
 69 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:92:21: error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
 14 |     /// Helper class to determine permission to get access for streaming ``CLLocation``
 15 |     @available(iOS 14.0, watchOS 7.0, *)
 16 |     final class Permission{
    |                 `- note: add @available attribute to enclosing class
 17 |
 18 |         /// Name of notification for event location manager changed authorization status
    :
 89 |         /// Don't forget to add in Info "Privacy - Location When In Use Usage Description" something like "Show list of locations"
 90 |         /// - Returns: Permission status
 91 |         private func requestPermission(_ manager : CLLocationManager) async -> CLAuthorizationStatus{
    |                      `- note: add @available attribute to enclosing instance method
 92 |             manager.requestWhenInUseAuthorization()
    |                     |- error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 93 |
 94 |             if isDetermined{
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:98:26: error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 14 |     /// Helper class to determine permission to get access for streaming ``CLLocation``
 15 |     @available(iOS 14.0, watchOS 7.0, *)
 16 |     final class Permission{
    |                 `- note: add @available attribute to enclosing class
 17 |
 18 |         /// Name of notification for event location manager changed authorization status
    :
 89 |         /// Don't forget to add in Info "Privacy - Location When In Use Usage Description" something like "Show list of locations"
 90 |         /// - Returns: Permission status
 91 |         private func requestPermission(_ manager : CLLocationManager) async -> CLAuthorizationStatus{
    |                      `- note: add @available attribute to enclosing instance method
 92 |             manager.requestWhenInUseAuthorization()
 93 |
    :
 96 |             }
 97 |
 98 |             return await withCheckedContinuation{ continuation in
    |                          |- error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 99 |                 flow = continuation
100 |             }
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:98:50: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:98:49: note: expanded code originates here
 14 |     /// Helper class to determine permission to get access for streaming ``CLLocation``
 15 |     @available(iOS 14.0, watchOS 7.0, *)
 16 |     final class Permission{
    |                 `- note: add @available attribute to enclosing class
 17 |
 18 |         /// Name of notification for event location manager changed authorization status
    :
 89 |         /// Don't forget to add in Info "Privacy - Location When In Use Usage Description" something like "Show list of locations"
 90 |         /// - Returns: Permission status
 91 |         private func requestPermission(_ manager : CLLocationManager) async -> CLAuthorizationStatus{
    |                      `- note: add @available attribute to enclosing instance method
 92 |             manager.requestWhenInUseAuthorization()
 93 |
    :
 96 |             }
 97 |
 98 |             return await withCheckedContinuation{ continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift
    |96 |
    |97 |
    |98 |                                                 #isolation
    |   |                                                  `- error: 'isolation()' is only available in macOS 10.15 or newer
    +----------------------------------------------------------------------------------------------------------------
 99 |                 flow = continuation
100 |             }
BUILD FAILURE 6.0 macosSpm