Build Information
Failed to build d3-async-location, reference main (04ec13
), with Swift 5.9 for macOS (SPM) on 14 Sep 2024 19:43:48 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
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: 5.9
Building package at path: $PWD
https://github.com/igor11191708/d3-async-location.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] 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
var stream: AsyncThrowingStream<CLLocation, Error>.Continuation? {get set}
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:14:9: note: add @available attribute to enclosing property
var stream: AsyncThrowingStream<CLLocation, Error>.Continuation? {get set}
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:12:17: note: add @available attribute to enclosing protocol
public protocol ILocationDelegate: NSObjectProtocol, CLLocationManagerDelegate{
^
/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
func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:18:10: note: add @available attribute to enclosing instance method
func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:12:17: note: add @available attribute to enclosing protocol
public protocol ILocationDelegate: NSObjectProtocol, CLLocationManagerDelegate{
^
/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
public func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation){
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:28:17: note: add @available attribute to enclosing instance method
public func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation){
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:24:1: note: add @available attribute to enclosing extension
extension ILocationDelegate{
^
[2/10] Compiling d3_async_location Strategy.swift
[3/10] Compiling d3_async_location LocationStreamigState.swift
[4/10] Compiling d3_async_location AsyncLocationErrors.swift
[5/10] Compiling d3_async_location Delegate.swift
/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
private typealias Termination = AsyncThrowingStream<CLLocation, Error>.Continuation.Termination
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:83:23: note: add @available attribute to enclosing type alias
private typealias Termination = AsyncThrowingStream<CLLocation, Error>.Continuation.Termination
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:10:1: note: add @available attribute to enclosing extension
extension LocationManagerAsync{
^
/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
typealias Streaming = AsyncThrowingStream<CLLocation, Error>.Continuation
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:85:15: note: add @available attribute to enclosing type alias
typealias Streaming = AsyncThrowingStream<CLLocation, Error>.Continuation
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:10:1: note: add @available attribute to enclosing extension
extension LocationManagerAsync{
^
/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
NotificationCenter.default.post(name: Permission.authorizationStatus, object: manager.authorizationStatus)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:39:99: note: add 'if #available' version check
NotificationCenter.default.post(name: Permission.authorizationStatus, object: manager.authorizationStatus)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:38:21: note: add @available attribute to enclosing instance method
public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:15:17: note: add @available attribute to enclosing class
final class Delegate: NSObject, ILocationDelegate{
^
[6/10] 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
var start : AsyncThrowingStream<CLLocation, Error> { get async throws }
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationManagerAsync.swift:15:9: note: add @available attribute to enclosing property
var start : AsyncThrowingStream<CLLocation, Error> { get async throws }
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationManagerAsync.swift:12:10: note: add @available attribute to enclosing protocol
protocol ILocationManagerAsync{
^
[7/11] Compiling d3_async_location LMViewModel.swift
/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
@MainActor @Published public private(set) var locations : [CLLocation] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:16:20: note: add @available attribute to enclosing class
public final class LMViewModel: ILocationManagerViewModel{
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<LMViewModel, [CLLocation]>' cannot be converted to contextual type 'KeyPath<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:120:13: error: cannot pass as inout because setter for 'locations' is only available in macOS 10.15 or newer
locations.append(coordinate)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:120:13: note: add 'if #available' version check
locations.append(coordinate)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:118:18: note: add @available attribute to enclosing instance method
private func add(_ coordinate : CLLocation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:16:20: note: add @available attribute to enclosing class
public final class LMViewModel: ILocationManagerViewModel{
^
/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
locations[0] = coordinate
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:122:13: note: add 'if #available' version check
locations[0] = coordinate
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:118:18: note: add @available attribute to enclosing instance method
private func add(_ coordinate : CLLocation) {
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:16:20: note: add @available attribute to enclosing class
public final class LMViewModel: ILocationManagerViewModel{
^
[8/11] 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
private var locations : AsyncThrowingStream<CLLocation, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:25:17: note: add @available attribute to enclosing property
private var locations : AsyncThrowingStream<CLLocation, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:12:13: note: add @available attribute to enclosing class
final class LocationManagerAsync: ILocationManagerAsync{
^
/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
public var start : AsyncThrowingStream<CLLocation, Error>{
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:57:16: note: add @available attribute to enclosing property
public var start : AsyncThrowingStream<CLLocation, Error>{
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:12:13: note: add @available attribute to enclosing class
final class LocationManagerAsync: ILocationManagerAsync{
^
/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
AsyncThrowingStream<CLLocation, Error>(CLLocation.self) { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:26:9: note: add 'if #available' version check
AsyncThrowingStream<CLLocation, Error>(CLLocation.self) { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:25:17: note: add @available attribute to enclosing property
private var locations : AsyncThrowingStream<CLLocation, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:12:13: note: add @available attribute to enclosing class
final class LocationManagerAsync: ILocationManagerAsync{
^
/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
let permission = Permission(with: manager.authorizationStatus)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:59:55: note: add 'if #available' version check
let permission = Permission(with: manager.authorizationStatus)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:57:16: note: add @available attribute to enclosing property
public var start : AsyncThrowingStream<CLLocation, Error>{
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:12:13: note: add @available attribute to enclosing class
final class LocationManagerAsync: ILocationManagerAsync{
^
/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
manager.activityType = activityType ?? .other
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:106:17: note: add 'if #available' version check
manager.activityType = activityType ?? .other
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:99:18: note: add @available attribute to enclosing instance method
private func updateSettings(_ accuracy : CLLocationAccuracy?,
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:12:13: note: add @available attribute to enclosing class
final class LocationManagerAsync: ILocationManagerAsync{
^
/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
manager.allowsBackgroundLocationUpdates = backgroundUpdates
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:109:17: note: add 'if #available' version check
manager.allowsBackgroundLocationUpdates = backgroundUpdates
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:99:18: note: add @available attribute to enclosing instance method
private func updateSettings(_ accuracy : CLLocationAccuracy?,
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:12:13: note: add @available attribute to enclosing class
final class LocationManagerAsync: ILocationManagerAsync{
^
[9/11] 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
public protocol ILocationManagerViewModel: ObservableObject{
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationManagerViewModel.swift:12:17: note: add @available attribute to enclosing protocol
public protocol ILocationManagerViewModel: ObservableObject{
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/11] Emitting module d3_async_location
/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
private typealias Termination = AsyncThrowingStream<CLLocation, Error>.Continuation.Termination
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:83:23: note: add @available attribute to enclosing type alias
private typealias Termination = AsyncThrowingStream<CLLocation, Error>.Continuation.Termination
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:10:1: note: add @available attribute to enclosing extension
extension LocationManagerAsync{
^
/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
typealias Streaming = AsyncThrowingStream<CLLocation, Error>.Continuation
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:85:15: note: add @available attribute to enclosing type alias
typealias Streaming = AsyncThrowingStream<CLLocation, Error>.Continuation
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Delegate.swift:10:1: note: add @available attribute to enclosing extension
extension LocationManagerAsync{
^
/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
private var flow : CheckedContinuation<CLAuthorizationStatus, Never>?
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:16:17: note: add @available attribute to enclosing class
final class Permission{
^
/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
private var cancelable : AnyCancellable?
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:16:17: note: add @available attribute to enclosing class
final class Permission{
^
/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
fileprivate typealias Output = NotificationCenter.Publisher.Output
^
/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
private var locations : AsyncThrowingStream<CLLocation, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:25:17: note: add @available attribute to enclosing property
private var locations : AsyncThrowingStream<CLLocation, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:12:13: note: add @available attribute to enclosing class
final class LocationManagerAsync: ILocationManagerAsync{
^
/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
public var start : AsyncThrowingStream<CLLocation, Error>{
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:57:16: note: add @available attribute to enclosing property
public var start : AsyncThrowingStream<CLLocation, Error>{
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync.swift:12:13: note: add @available attribute to enclosing class
final class LocationManagerAsync: ILocationManagerAsync{
^
/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
var stream: AsyncThrowingStream<CLLocation, Error>.Continuation? {get set}
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:14:9: note: add @available attribute to enclosing property
var stream: AsyncThrowingStream<CLLocation, Error>.Continuation? {get set}
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:12:17: note: add @available attribute to enclosing protocol
public protocol ILocationDelegate: NSObjectProtocol, CLLocationManagerDelegate{
^
/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
func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:18:10: note: add @available attribute to enclosing instance method
func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:12:17: note: add @available attribute to enclosing protocol
public protocol ILocationDelegate: NSObjectProtocol, CLLocationManagerDelegate{
^
/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
public func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation){
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:28:17: note: add @available attribute to enclosing instance method
public func setStream(with continuation : AsyncThrowingStream<CLLocation, Error>.Continuation){
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationDelegate.swift:24:1: note: add @available attribute to enclosing extension
extension ILocationDelegate{
^
/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
var start : AsyncThrowingStream<CLLocation, Error> { get async throws }
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationManagerAsync.swift:15:9: note: add @available attribute to enclosing property
var start : AsyncThrowingStream<CLLocation, Error> { get async throws }
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationManagerAsync.swift:12:10: note: add @available attribute to enclosing protocol
protocol ILocationManagerAsync{
^
/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
public protocol ILocationManagerViewModel: ObservableObject{
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/protocol/ILocationManagerViewModel.swift:12:17: note: add @available attribute to enclosing protocol
public protocol ILocationManagerViewModel: ObservableObject{
^
/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
@MainActor @Published public private(set) var locations : [CLLocation] = []
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/viewmodel/LMViewModel.swift:16:20: note: add @available attribute to enclosing class
public final class LMViewModel: ILocationManagerViewModel{
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<LMViewModel, [CLLocation]>' cannot be converted to contextual type 'KeyPath<LMViewModel, [CLLocation]>'
[11/11] 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
private var flow : CheckedContinuation<CLAuthorizationStatus, Never>?
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:16:17: note: add @available attribute to enclosing class
final class Permission{
^
/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
private var cancelable : AnyCancellable?
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:16:17: note: add @available attribute to enclosing class
final class Permission{
^
/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
fileprivate typealias Output = NotificationCenter.Publisher.Output
^
/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
cancelable = NotificationCenter.default.publisher(for: name)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:66:53: note: add 'if #available' version check
cancelable = NotificationCenter.default.publisher(for: name)
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:64:22: note: add @available attribute to enclosing instance method
private func initSubscription(){
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:16:17: note: add @available attribute to enclosing class
final class Permission{
^
/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
.sink { [weak self] value in
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:67:18: note: add 'if #available' version check
.sink { [weak self] value in
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:64:22: note: add @available attribute to enclosing instance method
private func initSubscription(){
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:16:17: note: add @available attribute to enclosing class
final class Permission{
^
/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
manager.requestWhenInUseAuthorization()
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:92:21: note: add 'if #available' version check
manager.requestWhenInUseAuthorization()
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:91:22: note: add @available attribute to enclosing instance method
private func requestPermission(_ manager : CLLocationManager) async -> CLAuthorizationStatus{
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:16:17: note: add @available attribute to enclosing class
final class Permission{
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:98:26: error: 'withCheckedContinuation(function:_:)' is only available in macOS 10.15 or newer
return await withCheckedContinuation{ continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:98:26: note: add 'if #available' version check
return await withCheckedContinuation{ continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:91:22: note: add @available attribute to enclosing instance method
private func requestPermission(_ manager : CLLocationManager) async -> CLAuthorizationStatus{
^
/Users/admin/builder/spi-builder-workspace/Sources/d3-async-location/LocationManagerAsync+/Permission.swift:16:17: note: add @available attribute to enclosing class
final class Permission{
^
error: fatalError
BUILD FAILURE 5.9 macosSpm