Build Information
Successful build of SwiftLocation, reference 5.1.0 (f8ec8e
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 12:02:04 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/malcommac/SwiftLocation.git
Reference: 5.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftLocation
* tag 5.1.0 -> FETCH_HEAD
HEAD is now at f8ec8e9 Merge branch 'release/5.1.0'
Cloned https://github.com/malcommac/SwiftLocation.git
Revision (git rev-parse @):
f8ec8e97095eb3a5312370ad94b921768217625f
SUCCESS checkout https://github.com/malcommac/SwiftLocation.git at 5.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/malcommac/SwiftLocation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-1EA4D86E10B52AF.txt
[4/52] Emitting module SwiftLocation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - LocationManagerDelegate
29 |
30 | public protocol LocationManagerDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | // MARK: - Location Manager
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:52:45: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 | // MARK: - LocationManagerProtocol
51 |
52 | public protocol LocationManagerImpProtocol: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
53 | typealias AuthorizationCallback = ((CLAuthorizationStatus) -> Void)
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:139: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
137 | // MARK: - CLAuthorizationStatus
138 |
139 | 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
140 |
141 | internal var isAuthorized: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:174:1: warning: extension declares a conformance of imported type 'CLActivityType' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
172 | // MARK: - CLActivityType
173 |
174 | extension CLActivityType: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLActivityType' 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
175 |
176 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/Foundation+Extras.swift:141:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
139 | // MARK: - CLLocationCoordinate2D
140 |
141 | extension CLLocationCoordinate2D: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
142 |
143 | var commaLngLat: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Abstract Request/RequestProtocol.swift:32:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - RequestProtocol
31 |
32 | public protocol RequestProtocol: class, Hashable, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 | associatedtype ProducedData
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/AutocompleteProtocol.swift:32:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - AutocompleteProtocol
31 |
32 | public protocol AutocompleteProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 |
34 | /// Execute the search.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/Services/Autocomplete-Apple.swift:233:62: warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
231 | }
232 |
233 | private func filterTypes() -> MKLocalSearchCompleter.FilterType {
| `- warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
234 | if contains(.query) {
235 | return .locationsAndQueries
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Geocoder/GeocoderServiceProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - GeocoderServiceProtocol
29 |
30 | public protocol GeocoderServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | /// Timeout interval for request. `nil` to ignore it.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:39:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
37 | }
38 |
39 | public protocol IPServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
40 |
41 | /// Decoder userd to read data from service.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[5/56] Compiling SwiftLocation GeoLocation+Here.swift
[6/56] Compiling SwiftLocation GeoLocation+MapBox.swift
[7/56] Compiling SwiftLocation GeoLocation+OpenStreet.swift
[8/56] Compiling SwiftLocation GeoLocation.swift
[9/56] Compiling SwiftLocation GeocoderRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Geocoder/GeocoderServiceProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - GeocoderServiceProtocol
29 |
30 | public protocol GeocoderServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | /// Timeout interval for request. `nil` to ignore it.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Geocoder/Services/Geocoder-Here.swift:66:17: warning: dictionary literal of type '[String : Any?]' has duplicate entries for string literal key 'locale'
64 | "APIKey": APIKey.trunc(length: 5),
65 | "timeout": timeout,
66 | "locale": locale ?? "",
| |- warning: dictionary literal of type '[String : Any?]' has duplicate entries for string literal key 'locale'
| `- note: duplicate key declared here
67 | "limit": limit ?? "",
68 | "locale": locale ?? "",
| `- note: duplicate key declared here
69 | "limitToCountries": countryCodes ?? "",
70 | "proximityCoordinates": proximityCoordinates?.description ?? ""
[10/56] Compiling SwiftLocation GeocoderServiceProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Geocoder/GeocoderServiceProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - GeocoderServiceProtocol
29 |
30 | public protocol GeocoderServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | /// Timeout interval for request. `nil` to ignore it.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Geocoder/Services/Geocoder-Here.swift:66:17: warning: dictionary literal of type '[String : Any?]' has duplicate entries for string literal key 'locale'
64 | "APIKey": APIKey.trunc(length: 5),
65 | "timeout": timeout,
66 | "locale": locale ?? "",
| |- warning: dictionary literal of type '[String : Any?]' has duplicate entries for string literal key 'locale'
| `- note: duplicate key declared here
67 | "limit": limit ?? "",
68 | "locale": locale ?? "",
| `- note: duplicate key declared here
69 | "limitToCountries": countryCodes ?? "",
70 | "proximityCoordinates": proximityCoordinates?.description ?? ""
[11/56] Compiling SwiftLocation Geocoder-Apple.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Geocoder/GeocoderServiceProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - GeocoderServiceProtocol
29 |
30 | public protocol GeocoderServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | /// Timeout interval for request. `nil` to ignore it.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Geocoder/Services/Geocoder-Here.swift:66:17: warning: dictionary literal of type '[String : Any?]' has duplicate entries for string literal key 'locale'
64 | "APIKey": APIKey.trunc(length: 5),
65 | "timeout": timeout,
66 | "locale": locale ?? "",
| |- warning: dictionary literal of type '[String : Any?]' has duplicate entries for string literal key 'locale'
| `- note: duplicate key declared here
67 | "limit": limit ?? "",
68 | "locale": locale ?? "",
| `- note: duplicate key declared here
69 | "limitToCountries": countryCodes ?? "",
70 | "proximityCoordinates": proximityCoordinates?.description ?? ""
[12/56] Compiling SwiftLocation Geocoder-Google.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Geocoder/GeocoderServiceProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - GeocoderServiceProtocol
29 |
30 | public protocol GeocoderServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | /// Timeout interval for request. `nil` to ignore it.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Geocoder/Services/Geocoder-Here.swift:66:17: warning: dictionary literal of type '[String : Any?]' has duplicate entries for string literal key 'locale'
64 | "APIKey": APIKey.trunc(length: 5),
65 | "timeout": timeout,
66 | "locale": locale ?? "",
| |- warning: dictionary literal of type '[String : Any?]' has duplicate entries for string literal key 'locale'
| `- note: duplicate key declared here
67 | "limit": limit ?? "",
68 | "locale": locale ?? "",
| `- note: duplicate key declared here
69 | "limitToCountries": countryCodes ?? "",
70 | "proximityCoordinates": proximityCoordinates?.description ?? ""
[13/56] Compiling SwiftLocation Geocoder-Here.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Geocoder/GeocoderServiceProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - GeocoderServiceProtocol
29 |
30 | public protocol GeocoderServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | /// Timeout interval for request. `nil` to ignore it.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Geocoder/Services/Geocoder-Here.swift:66:17: warning: dictionary literal of type '[String : Any?]' has duplicate entries for string literal key 'locale'
64 | "APIKey": APIKey.trunc(length: 5),
65 | "timeout": timeout,
66 | "locale": locale ?? "",
| |- warning: dictionary literal of type '[String : Any?]' has duplicate entries for string literal key 'locale'
| `- note: duplicate key declared here
67 | "limit": limit ?? "",
68 | "locale": locale ?? "",
| `- note: duplicate key declared here
69 | "limitToCountries": countryCodes ?? "",
70 | "proximityCoordinates": proximityCoordinates?.description ?? ""
[14/56] Compiling SwiftLocation PartialAddressMatch+Google.swift
[15/56] Compiling SwiftLocation PartialAddressMatch+Here.swift
[16/56] Compiling SwiftLocation PartialAddressMatch.swift
[17/56] Compiling SwiftLocation GeoLocation+Apple.swift
[18/56] Compiling SwiftLocation GeoLocation+Google.swift
[19/56] Compiling SwiftLocation IPLocation-IPInfo.swift
[20/56] Compiling SwiftLocation IPLocation-IPIpify.swift
[21/56] Compiling SwiftLocation IPLocation-IPStack.swift
[22/56] Compiling SwiftLocation VisitsRequest.swift
[23/56] Compiling SwiftLocation PartialAddressMatch+Apple.swift
[24/56] Compiling SwiftLocation RequestProtocol+Support.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Abstract Request/RequestProtocol.swift:32:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - RequestProtocol
31 |
32 | public protocol RequestProtocol: class, Hashable, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 | associatedtype ProducedData
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/AutocompleteProtocol.swift:32:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - AutocompleteProtocol
31 |
32 | public protocol AutocompleteProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 |
34 | /// Execute the search.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/Services/Autocomplete-Apple.swift:233:62: warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
231 | }
232 |
233 | private func filterTypes() -> MKLocalSearchCompleter.FilterType {
| `- warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
234 | if contains(.query) {
235 | return .locationsAndQueries
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[25/56] Compiling SwiftLocation RequestProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Abstract Request/RequestProtocol.swift:32:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - RequestProtocol
31 |
32 | public protocol RequestProtocol: class, Hashable, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 | associatedtype ProducedData
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/AutocompleteProtocol.swift:32:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - AutocompleteProtocol
31 |
32 | public protocol AutocompleteProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 |
34 | /// Execute the search.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/Services/Autocomplete-Apple.swift:233:62: warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
231 | }
232 |
233 | private func filterTypes() -> MKLocalSearchCompleter.FilterType {
| `- warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
234 | if contains(.query) {
235 | return .locationsAndQueries
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[26/56] Compiling SwiftLocation AutocompleteProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Abstract Request/RequestProtocol.swift:32:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - RequestProtocol
31 |
32 | public protocol RequestProtocol: class, Hashable, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 | associatedtype ProducedData
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/AutocompleteProtocol.swift:32:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - AutocompleteProtocol
31 |
32 | public protocol AutocompleteProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 |
34 | /// Execute the search.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/Services/Autocomplete-Apple.swift:233:62: warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
231 | }
232 |
233 | private func filterTypes() -> MKLocalSearchCompleter.FilterType {
| `- warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
234 | if contains(.query) {
235 | return .locationsAndQueries
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[27/56] Compiling SwiftLocation AutocompleteRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Abstract Request/RequestProtocol.swift:32:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - RequestProtocol
31 |
32 | public protocol RequestProtocol: class, Hashable, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 | associatedtype ProducedData
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/AutocompleteProtocol.swift:32:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - AutocompleteProtocol
31 |
32 | public protocol AutocompleteProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 |
34 | /// Execute the search.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/Services/Autocomplete-Apple.swift:233:62: warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
231 | }
232 |
233 | private func filterTypes() -> MKLocalSearchCompleter.FilterType {
| `- warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
234 | if contains(.query) {
235 | return .locationsAndQueries
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[28/56] Compiling SwiftLocation Autocomplete-Apple.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Abstract Request/RequestProtocol.swift:32:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - RequestProtocol
31 |
32 | public protocol RequestProtocol: class, Hashable, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 | associatedtype ProducedData
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/AutocompleteProtocol.swift:32:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
30 | // MARK: - AutocompleteProtocol
31 |
32 | public protocol AutocompleteProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
33 |
34 | /// Execute the search.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Autocomplete/Services/Autocomplete-Apple.swift:233:62: warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
231 | }
232 |
233 | private func filterTypes() -> MKLocalSearchCompleter.FilterType {
| `- warning: 'FilterType' was deprecated in macOS 10.15: Use MKLocalSearchCompleterResultType [#DeprecatedDeclaration]
234 | if contains(.query) {
235 | return .locationsAndQueries
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[29/56] Compiling SwiftLocation IPLocationRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:39:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
37 | }
38 |
39 | public protocol IPServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
40 |
41 | /// Decoder userd to read data from service.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:95:34: warning: capture of non-sendable type 'Self.Type' in an isolated closure
93 | let request = try buildRequest()
94 | self.task = session.dataTask(with: request) { [weak self] (data, response, error) in
95 | guard let self = self, self.isCancelled == false else {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
96 | completion(.failure(.cancelled))
97 | return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:94:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure
92 | do {
93 | let request = try buildRequest()
94 | self.task = session.dataTask(with: request) { [weak self] (data, response, error) in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
95 | guard let self = self, self.isCancelled == false else {
96 | completion(.failure(.cancelled))
[30/56] Compiling SwiftLocation IPServiceProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:39:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
37 | }
38 |
39 | public protocol IPServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
40 |
41 | /// Decoder userd to read data from service.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:95:34: warning: capture of non-sendable type 'Self.Type' in an isolated closure
93 | let request = try buildRequest()
94 | self.task = session.dataTask(with: request) { [weak self] (data, response, error) in
95 | guard let self = self, self.isCancelled == false else {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
96 | completion(.failure(.cancelled))
97 | return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:94:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure
92 | do {
93 | let request = try buildRequest()
94 | self.task = session.dataTask(with: request) { [weak self] (data, response, error) in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
95 | guard let self = self, self.isCancelled == false else {
96 | completion(.failure(.cancelled))
[31/56] Compiling SwiftLocation IPLocation-IPApi.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:39:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
37 | }
38 |
39 | public protocol IPServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
40 |
41 | /// Decoder userd to read data from service.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:95:34: warning: capture of non-sendable type 'Self.Type' in an isolated closure
93 | let request = try buildRequest()
94 | self.task = session.dataTask(with: request) { [weak self] (data, response, error) in
95 | guard let self = self, self.isCancelled == false else {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
96 | completion(.failure(.cancelled))
97 | return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:94:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure
92 | do {
93 | let request = try buildRequest()
94 | self.task = session.dataTask(with: request) { [weak self] (data, response, error) in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
95 | guard let self = self, self.isCancelled == false else {
96 | completion(.failure(.cancelled))
[32/56] Compiling SwiftLocation IPLocation-IPData.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:39:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
37 | }
38 |
39 | public protocol IPServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
40 |
41 | /// Decoder userd to read data from service.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:95:34: warning: capture of non-sendable type 'Self.Type' in an isolated closure
93 | let request = try buildRequest()
94 | self.task = session.dataTask(with: request) { [weak self] (data, response, error) in
95 | guard let self = self, self.isCancelled == false else {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
96 | completion(.failure(.cancelled))
97 | return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:94:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure
92 | do {
93 | let request = try buildRequest()
94 | self.task = session.dataTask(with: request) { [weak self] (data, response, error) in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
95 | guard let self = self, self.isCancelled == false else {
96 | completion(.failure(.cancelled))
[33/56] Compiling SwiftLocation IPLocation-IPGeolocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:39:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
37 | }
38 |
39 | public protocol IPServiceProtocol: class, CustomStringConvertible {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
40 |
41 | /// Decoder userd to read data from service.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:95:34: warning: capture of non-sendable type 'Self.Type' in an isolated closure
93 | let request = try buildRequest()
94 | self.task = session.dataTask(with: request) { [weak self] (data, response, error) in
95 | guard let self = self, self.isCancelled == false else {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
96 | completion(.failure(.cancelled))
97 | return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/IPLocation/IPServiceProtocol.swift:94:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure
92 | do {
93 | let request = try buildRequest()
94 | self.task = session.dataTask(with: request) { [weak self] (data, response, error) in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
95 | guard let self = self, self.isCancelled == false else {
96 | completion(.failure(.cancelled))
[34/56] Compiling SwiftLocation Geocoder-MapBox.swift
[35/56] Compiling SwiftLocation Geocoder-OpenStreet.swift
[36/56] Compiling SwiftLocation GeofencingOptions.swift
[37/56] Compiling SwiftLocation GeofencingRequest.swift
[38/56] Compiling SwiftLocation IPLocation+Data.swift
[39/56] Compiling SwiftLocation Autocomplete-Google.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:151:84: warning: 'proximityUUID' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
149 | let matched = sourceList.filter { b in
150 | monitoredBeacons.contains(where: {
151 | $0.major == b.major && $0.minor == b.minor && $0.uuid as UUID == b.proximityUUID
| `- warning: 'proximityUUID' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
152 | })
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:184:22: warning: 'init(proximityUUID:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
182 |
183 | fileprivate func regionFromUUID(_ uuid: UUID) -> CLBeaconRegion {
184 | let region = CLBeaconRegion(proximityUUID: uuid, identifier: "\(requestRegionIdentifier)\(uuid.uuidString)")
| `- warning: 'init(proximityUUID:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
185 | region.notifyEntryStateOnDisplay = true
186 | return region
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:190:22: warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
188 |
189 | private func regionFromBeacon(_ beacon: Beacon) -> CLBeaconRegion {
190 | let region = CLBeaconRegion(proximityUUID: beacon.uuid as UUID,
| `- warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
191 | major: CLBeaconMajorValue(beacon.major.int32Value),
192 | minor: CLBeaconMinorValue(beacon.minor.int32Value),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[40/56] Compiling SwiftLocation Autocomplete-Here.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:151:84: warning: 'proximityUUID' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
149 | let matched = sourceList.filter { b in
150 | monitoredBeacons.contains(where: {
151 | $0.major == b.major && $0.minor == b.minor && $0.uuid as UUID == b.proximityUUID
| `- warning: 'proximityUUID' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
152 | })
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:184:22: warning: 'init(proximityUUID:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
182 |
183 | fileprivate func regionFromUUID(_ uuid: UUID) -> CLBeaconRegion {
184 | let region = CLBeaconRegion(proximityUUID: uuid, identifier: "\(requestRegionIdentifier)\(uuid.uuidString)")
| `- warning: 'init(proximityUUID:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
185 | region.notifyEntryStateOnDisplay = true
186 | return region
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:190:22: warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
188 |
189 | private func regionFromBeacon(_ beacon: Beacon) -> CLBeaconRegion {
190 | let region = CLBeaconRegion(proximityUUID: beacon.uuid as UUID,
| `- warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
191 | major: CLBeaconMajorValue(beacon.major.int32Value),
192 | minor: CLBeaconMinorValue(beacon.minor.int32Value),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[41/56] Compiling SwiftLocation BeaconRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:151:84: warning: 'proximityUUID' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
149 | let matched = sourceList.filter { b in
150 | monitoredBeacons.contains(where: {
151 | $0.major == b.major && $0.minor == b.minor && $0.uuid as UUID == b.proximityUUID
| `- warning: 'proximityUUID' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
152 | })
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:184:22: warning: 'init(proximityUUID:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
182 |
183 | fileprivate func regionFromUUID(_ uuid: UUID) -> CLBeaconRegion {
184 | let region = CLBeaconRegion(proximityUUID: uuid, identifier: "\(requestRegionIdentifier)\(uuid.uuidString)")
| `- warning: 'init(proximityUUID:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
185 | region.notifyEntryStateOnDisplay = true
186 | return region
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:190:22: warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
188 |
189 | private func regionFromBeacon(_ beacon: Beacon) -> CLBeaconRegion {
190 | let region = CLBeaconRegion(proximityUUID: beacon.uuid as UUID,
| `- warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
191 | major: CLBeaconMajorValue(beacon.major.int32Value),
192 | minor: CLBeaconMinorValue(beacon.minor.int32Value),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[42/56] Compiling SwiftLocation GPSLocationOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:151:84: warning: 'proximityUUID' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
149 | let matched = sourceList.filter { b in
150 | monitoredBeacons.contains(where: {
151 | $0.major == b.major && $0.minor == b.minor && $0.uuid as UUID == b.proximityUUID
| `- warning: 'proximityUUID' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
152 | })
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:184:22: warning: 'init(proximityUUID:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
182 |
183 | fileprivate func regionFromUUID(_ uuid: UUID) -> CLBeaconRegion {
184 | let region = CLBeaconRegion(proximityUUID: uuid, identifier: "\(requestRegionIdentifier)\(uuid.uuidString)")
| `- warning: 'init(proximityUUID:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
185 | region.notifyEntryStateOnDisplay = true
186 | return region
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:190:22: warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
188 |
189 | private func regionFromBeacon(_ beacon: Beacon) -> CLBeaconRegion {
190 | let region = CLBeaconRegion(proximityUUID: beacon.uuid as UUID,
| `- warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
191 | major: CLBeaconMajorValue(beacon.major.int32Value),
192 | minor: CLBeaconMinorValue(beacon.minor.int32Value),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[43/56] Compiling SwiftLocation GPSLocationRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:151:84: warning: 'proximityUUID' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
149 | let matched = sourceList.filter { b in
150 | monitoredBeacons.contains(where: {
151 | $0.major == b.major && $0.minor == b.minor && $0.uuid as UUID == b.proximityUUID
| `- warning: 'proximityUUID' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
152 | })
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:184:22: warning: 'init(proximityUUID:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
182 |
183 | fileprivate func regionFromUUID(_ uuid: UUID) -> CLBeaconRegion {
184 | let region = CLBeaconRegion(proximityUUID: uuid, identifier: "\(requestRegionIdentifier)\(uuid.uuidString)")
| `- warning: 'init(proximityUUID:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
185 | region.notifyEntryStateOnDisplay = true
186 | return region
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Requests/Beacon/BeaconRequest.swift:190:22: warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
188 |
189 | private func regionFromBeacon(_ beacon: Beacon) -> CLBeaconRegion {
190 | let region = CLBeaconRegion(proximityUUID: beacon.uuid as UUID,
| `- warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
191 | major: CLBeaconMajorValue(beacon.major.int32Value),
192 | minor: CLBeaconMinorValue(beacon.minor.int32Value),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[44/56] Compiling SwiftLocation DeviceLocationManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:94:59: warning: 'rangedRegions' was deprecated in macOS 10.15: Use -rangedBeaconConstraints [#DeprecatedDeclaration]
92 | return
93 | }
94 | manager.stopMonitoringBeaconRegions(Array(manager.rangedRegions))
| `- warning: 'rangedRegions' was deprecated in macOS 10.15: Use -rangedBeaconConstraints [#DeprecatedDeclaration]
95 | manager.startMonitoringBeaconRegions(newRegions)
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:240:33: warning: 'startRangingBeacons(in:)' was deprecated in macOS 11.0: Use -startRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
238 | }
239 | switch state {
240 | case .inside: manager.startRangingBeacons(in: beaconRegion)
| `- warning: 'startRangingBeacons(in:)' was deprecated in macOS 11.0: Use -startRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
241 | default: manager.stopRangingBeacons(in: beaconRegion)
242 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:241:33: warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
239 | switch state {
240 | case .inside: manager.startRangingBeacons(in: beaconRegion)
241 | default: manager.stopRangingBeacons(in: beaconRegion)
| `- warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
242 | }
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - LocationManagerDelegate
29 |
30 | public protocol LocationManagerDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | // MARK: - Location Manager
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:52:45: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 | // MARK: - LocationManagerProtocol
51 |
52 | public protocol LocationManagerImpProtocol: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
53 | typealias AuthorizationCallback = ((CLAuthorizationStatus) -> Void)
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:139: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
137 | // MARK: - CLAuthorizationStatus
138 |
139 | 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
140 |
141 | internal var isAuthorized: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:174:1: warning: extension declares a conformance of imported type 'CLActivityType' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
172 | // MARK: - CLActivityType
173 |
174 | extension CLActivityType: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLActivityType' 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
175 |
176 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:53:21: warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
51 | if let beaconRegion = region as? CLBeaconRegion {
52 | if #available(macCatalyst 14.0, iOS 7.0, *) {
53 | stopRangingBeacons(in: beaconRegion)
| `- warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/Foundation+Extras.swift:141:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
139 | // MARK: - CLLocationCoordinate2D
140 |
141 | extension CLLocationCoordinate2D: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
142 |
143 | var commaLngLat: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Abstract Request/RequestProtocol+Extension.swift:59:54: warning: capture of non-sendable type 'Self.Type' in an isolated closure
57 |
58 | func dispatchData(_ result: Result<ProducedData, LocationError>, toSubscriptions: [RequestDataCallback<DataCallback>]? = nil) {
59 | (toSubscriptions ?? subscriptions).forEach { subscription in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
60 | subscription.queue.async { // dispatch on passed queue.
61 | subscription.callback(result)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[45/56] Compiling SwiftLocation LocationManagerImpProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:94:59: warning: 'rangedRegions' was deprecated in macOS 10.15: Use -rangedBeaconConstraints [#DeprecatedDeclaration]
92 | return
93 | }
94 | manager.stopMonitoringBeaconRegions(Array(manager.rangedRegions))
| `- warning: 'rangedRegions' was deprecated in macOS 10.15: Use -rangedBeaconConstraints [#DeprecatedDeclaration]
95 | manager.startMonitoringBeaconRegions(newRegions)
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:240:33: warning: 'startRangingBeacons(in:)' was deprecated in macOS 11.0: Use -startRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
238 | }
239 | switch state {
240 | case .inside: manager.startRangingBeacons(in: beaconRegion)
| `- warning: 'startRangingBeacons(in:)' was deprecated in macOS 11.0: Use -startRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
241 | default: manager.stopRangingBeacons(in: beaconRegion)
242 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:241:33: warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
239 | switch state {
240 | case .inside: manager.startRangingBeacons(in: beaconRegion)
241 | default: manager.stopRangingBeacons(in: beaconRegion)
| `- warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
242 | }
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - LocationManagerDelegate
29 |
30 | public protocol LocationManagerDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | // MARK: - Location Manager
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:52:45: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 | // MARK: - LocationManagerProtocol
51 |
52 | public protocol LocationManagerImpProtocol: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
53 | typealias AuthorizationCallback = ((CLAuthorizationStatus) -> Void)
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:139: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
137 | // MARK: - CLAuthorizationStatus
138 |
139 | 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
140 |
141 | internal var isAuthorized: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:174:1: warning: extension declares a conformance of imported type 'CLActivityType' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
172 | // MARK: - CLActivityType
173 |
174 | extension CLActivityType: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLActivityType' 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
175 |
176 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:53:21: warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
51 | if let beaconRegion = region as? CLBeaconRegion {
52 | if #available(macCatalyst 14.0, iOS 7.0, *) {
53 | stopRangingBeacons(in: beaconRegion)
| `- warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/Foundation+Extras.swift:141:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
139 | // MARK: - CLLocationCoordinate2D
140 |
141 | extension CLLocationCoordinate2D: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
142 |
143 | var commaLngLat: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Abstract Request/RequestProtocol+Extension.swift:59:54: warning: capture of non-sendable type 'Self.Type' in an isolated closure
57 |
58 | func dispatchData(_ result: Result<ProducedData, LocationError>, toSubscriptions: [RequestDataCallback<DataCallback>]? = nil) {
59 | (toSubscriptions ?? subscriptions).forEach { subscription in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
60 | subscription.queue.async { // dispatch on passed queue.
61 | subscription.callback(result)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[46/56] Compiling SwiftLocation CLLocationManager+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:94:59: warning: 'rangedRegions' was deprecated in macOS 10.15: Use -rangedBeaconConstraints [#DeprecatedDeclaration]
92 | return
93 | }
94 | manager.stopMonitoringBeaconRegions(Array(manager.rangedRegions))
| `- warning: 'rangedRegions' was deprecated in macOS 10.15: Use -rangedBeaconConstraints [#DeprecatedDeclaration]
95 | manager.startMonitoringBeaconRegions(newRegions)
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:240:33: warning: 'startRangingBeacons(in:)' was deprecated in macOS 11.0: Use -startRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
238 | }
239 | switch state {
240 | case .inside: manager.startRangingBeacons(in: beaconRegion)
| `- warning: 'startRangingBeacons(in:)' was deprecated in macOS 11.0: Use -startRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
241 | default: manager.stopRangingBeacons(in: beaconRegion)
242 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:241:33: warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
239 | switch state {
240 | case .inside: manager.startRangingBeacons(in: beaconRegion)
241 | default: manager.stopRangingBeacons(in: beaconRegion)
| `- warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
242 | }
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - LocationManagerDelegate
29 |
30 | public protocol LocationManagerDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | // MARK: - Location Manager
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:52:45: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 | // MARK: - LocationManagerProtocol
51 |
52 | public protocol LocationManagerImpProtocol: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
53 | typealias AuthorizationCallback = ((CLAuthorizationStatus) -> Void)
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:139: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
137 | // MARK: - CLAuthorizationStatus
138 |
139 | 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
140 |
141 | internal var isAuthorized: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:174:1: warning: extension declares a conformance of imported type 'CLActivityType' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
172 | // MARK: - CLActivityType
173 |
174 | extension CLActivityType: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLActivityType' 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
175 |
176 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:53:21: warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
51 | if let beaconRegion = region as? CLBeaconRegion {
52 | if #available(macCatalyst 14.0, iOS 7.0, *) {
53 | stopRangingBeacons(in: beaconRegion)
| `- warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/Foundation+Extras.swift:141:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
139 | // MARK: - CLLocationCoordinate2D
140 |
141 | extension CLLocationCoordinate2D: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
142 |
143 | var commaLngLat: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Abstract Request/RequestProtocol+Extension.swift:59:54: warning: capture of non-sendable type 'Self.Type' in an isolated closure
57 |
58 | func dispatchData(_ result: Result<ProducedData, LocationError>, toSubscriptions: [RequestDataCallback<DataCallback>]? = nil) {
59 | (toSubscriptions ?? subscriptions).forEach { subscription in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
60 | subscription.queue.async { // dispatch on passed queue.
61 | subscription.callback(result)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[47/56] Compiling SwiftLocation Foundation+Extras.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:94:59: warning: 'rangedRegions' was deprecated in macOS 10.15: Use -rangedBeaconConstraints [#DeprecatedDeclaration]
92 | return
93 | }
94 | manager.stopMonitoringBeaconRegions(Array(manager.rangedRegions))
| `- warning: 'rangedRegions' was deprecated in macOS 10.15: Use -rangedBeaconConstraints [#DeprecatedDeclaration]
95 | manager.startMonitoringBeaconRegions(newRegions)
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:240:33: warning: 'startRangingBeacons(in:)' was deprecated in macOS 11.0: Use -startRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
238 | }
239 | switch state {
240 | case .inside: manager.startRangingBeacons(in: beaconRegion)
| `- warning: 'startRangingBeacons(in:)' was deprecated in macOS 11.0: Use -startRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
241 | default: manager.stopRangingBeacons(in: beaconRegion)
242 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:241:33: warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
239 | switch state {
240 | case .inside: manager.startRangingBeacons(in: beaconRegion)
241 | default: manager.stopRangingBeacons(in: beaconRegion)
| `- warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
242 | }
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - LocationManagerDelegate
29 |
30 | public protocol LocationManagerDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | // MARK: - Location Manager
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:52:45: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 | // MARK: - LocationManagerProtocol
51 |
52 | public protocol LocationManagerImpProtocol: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
53 | typealias AuthorizationCallback = ((CLAuthorizationStatus) -> Void)
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:139: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
137 | // MARK: - CLAuthorizationStatus
138 |
139 | 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
140 |
141 | internal var isAuthorized: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:174:1: warning: extension declares a conformance of imported type 'CLActivityType' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
172 | // MARK: - CLActivityType
173 |
174 | extension CLActivityType: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLActivityType' 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
175 |
176 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:53:21: warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
51 | if let beaconRegion = region as? CLBeaconRegion {
52 | if #available(macCatalyst 14.0, iOS 7.0, *) {
53 | stopRangingBeacons(in: beaconRegion)
| `- warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/Foundation+Extras.swift:141:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
139 | // MARK: - CLLocationCoordinate2D
140 |
141 | extension CLLocationCoordinate2D: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
142 |
143 | var commaLngLat: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Abstract Request/RequestProtocol+Extension.swift:59:54: warning: capture of non-sendable type 'Self.Type' in an isolated closure
57 |
58 | func dispatchData(_ result: Result<ProducedData, LocationError>, toSubscriptions: [RequestDataCallback<DataCallback>]? = nil) {
59 | (toSubscriptions ?? subscriptions).forEach { subscription in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
60 | subscription.queue.async { // dispatch on passed queue.
61 | subscription.callback(result)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[48/56] Compiling SwiftLocation RequestProtocol+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:94:59: warning: 'rangedRegions' was deprecated in macOS 10.15: Use -rangedBeaconConstraints [#DeprecatedDeclaration]
92 | return
93 | }
94 | manager.stopMonitoringBeaconRegions(Array(manager.rangedRegions))
| `- warning: 'rangedRegions' was deprecated in macOS 10.15: Use -rangedBeaconConstraints [#DeprecatedDeclaration]
95 | manager.startMonitoringBeaconRegions(newRegions)
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:240:33: warning: 'startRangingBeacons(in:)' was deprecated in macOS 11.0: Use -startRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
238 | }
239 | switch state {
240 | case .inside: manager.startRangingBeacons(in: beaconRegion)
| `- warning: 'startRangingBeacons(in:)' was deprecated in macOS 11.0: Use -startRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
241 | default: manager.stopRangingBeacons(in: beaconRegion)
242 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift:241:33: warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
239 | switch state {
240 | case .inside: manager.startRangingBeacons(in: beaconRegion)
241 | default: manager.stopRangingBeacons(in: beaconRegion)
| `- warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
242 | }
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:30:42: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | // MARK: - LocationManagerDelegate
29 |
30 | public protocol LocationManagerDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 |
32 | // MARK: - Location Manager
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/CLLocationManager/LocationManagerImpProtocol.swift:52:45: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
50 | // MARK: - LocationManagerProtocol
51 |
52 | public protocol LocationManagerImpProtocol: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
53 | typealias AuthorizationCallback = ((CLAuthorizationStatus) -> Void)
54 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:139: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
137 | // MARK: - CLAuthorizationStatus
138 |
139 | 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
140 |
141 | internal var isAuthorized: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:174:1: warning: extension declares a conformance of imported type 'CLActivityType' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
172 | // MARK: - CLActivityType
173 |
174 | extension CLActivityType: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLActivityType' 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
175 |
176 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/CLLocationManager+Extension.swift:53:21: warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
51 | if let beaconRegion = region as? CLBeaconRegion {
52 | if #available(macCatalyst 14.0, iOS 7.0, *) {
53 | stopRangingBeacons(in: beaconRegion)
| `- warning: 'stopRangingBeacons(in:)' was deprecated in macOS 11.0: Use -stopRangingBeaconsSatisfyingConstraint: [#DeprecatedDeclaration]
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Extensions/Foundation+Extras.swift:141:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
139 | // MARK: - CLLocationCoordinate2D
140 |
141 | extension CLLocationCoordinate2D: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
142 |
143 | var commaLngLat: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/Request/Abstract Request/RequestProtocol+Extension.swift:59:54: warning: capture of non-sendable type 'Self.Type' in an isolated closure
57 |
58 | func dispatchData(_ result: Result<ProducedData, LocationError>, toSubscriptions: [RequestDataCallback<DataCallback>]? = nil) {
59 | (toSubscriptions ?? subscriptions).forEach { subscription in
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
60 | subscription.queue.async { // dispatch on passed queue.
61 | subscription.callback(result)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[49/56] Compiling SwiftLocation JSONNetworkHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/SwiftLocation.swift:94:46: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
92 | }
93 |
94 | let location = NSKeyedUnarchiver.unarchiveObject(with: data) as? CLLocation
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
95 | return location
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/SwiftLocation.swift:103:40: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
101 | }
102 |
103 | let data = NSKeyedArchiver.archivedData(withRootObject: location)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
104 | UserDefaults.standard.setValue(data, forKey: UserDefaultsKeys.LastKnownGPSLocation)
105 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[50/56] Compiling SwiftLocation SwiftLocation+Credentials.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/SwiftLocation.swift:94:46: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
92 | }
93 |
94 | let location = NSKeyedUnarchiver.unarchiveObject(with: data) as? CLLocation
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
95 | return location
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/SwiftLocation.swift:103:40: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
101 | }
102 |
103 | let data = NSKeyedArchiver.archivedData(withRootObject: location)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
104 | UserDefaults.standard.setValue(data, forKey: UserDefaultsKeys.LastKnownGPSLocation)
105 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[51/56] Compiling SwiftLocation SwiftLocation+Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/SwiftLocation.swift:94:46: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
92 | }
93 |
94 | let location = NSKeyedUnarchiver.unarchiveObject(with: data) as? CLLocation
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
95 | return location
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/SwiftLocation.swift:103:40: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
101 | }
102 |
103 | let data = NSKeyedArchiver.archivedData(withRootObject: location)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
104 | UserDefaults.standard.setValue(data, forKey: UserDefaultsKeys.LastKnownGPSLocation)
105 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[52/56] Compiling SwiftLocation SwiftLocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/SwiftLocation.swift:94:46: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
92 | }
93 |
94 | let location = NSKeyedUnarchiver.unarchiveObject(with: data) as? CLLocation
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
95 | return location
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocation/SwiftLocation.swift:103:40: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
101 | }
102 |
103 | let data = NSKeyedArchiver.archivedData(withRootObject: location)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
104 | UserDefaults.standard.setValue(data, forKey: UserDefaultsKeys.LastKnownGPSLocation)
105 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[52/56] Write Objects.LinkFileList
[54/59] Compiling SwiftLocationBeaconBroadcaster SwiftLocation+BeaconBroadcaster.swift
[55/59] Emitting module SwiftLocationBeaconBroadcaster
[56/59] Compiling SwiftLocationBeaconBroadcaster BeaconBroadcaster.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocationBeaconBroadcaster/Request/Requests/Beacon/BeaconBroadcaster.swift:135:23: warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
133 |
134 | // create the region that will be used to send
135 | self.region = CLBeaconRegion(
| `- warning: 'init(proximityUUID:major:minor:identifier:)' was deprecated in macOS 10.15 [#DeprecatedDeclaration]
136 | proximityUUID: uuidInstance,
137 | major: majorID,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[56/59] Write Objects.LinkFileList
[57/59] Linking libSwiftLocation-Dynamic.dylib
[58/59] Linking libSwiftLocationBeaconBroadcaster.Dynamic.dylib
Build complete! (9.32s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftLocation",
"name" : "SwiftLocation",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "SwiftLocation",
"targets" : [
"SwiftLocation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftLocation-Dynamic",
"targets" : [
"SwiftLocation"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SwiftLocationBeaconBroadcaster",
"targets" : [
"SwiftLocationBeaconBroadcaster"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftLocationBeaconBroadcaster.Dynamic",
"targets" : [
"SwiftLocationBeaconBroadcaster"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLocationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLocationTests",
"path" : "Tests/SwiftLocationTests",
"sources" : [
"SwiftLocationTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftLocation",
"SwiftLocationBeaconBroadcaster"
],
"type" : "test"
},
{
"c99name" : "SwiftLocationBeaconBroadcaster",
"module_type" : "SwiftTarget",
"name" : "SwiftLocationBeaconBroadcaster",
"path" : "Sources/SwiftLocationBeaconBroadcaster",
"product_memberships" : [
"SwiftLocationBeaconBroadcaster",
"SwiftLocationBeaconBroadcaster.Dynamic"
],
"sources" : [
"Request/Requests/Beacon/BeaconBroadcaster.swift",
"SwiftLocation+BeaconBroadcaster.swift"
],
"target_dependencies" : [
"SwiftLocation"
],
"type" : "library"
},
{
"c99name" : "SwiftLocation",
"module_type" : "SwiftTarget",
"name" : "SwiftLocation",
"path" : "Sources/SwiftLocation",
"product_memberships" : [
"SwiftLocation",
"SwiftLocation-Dynamic",
"SwiftLocationBeaconBroadcaster",
"SwiftLocationBeaconBroadcaster.Dynamic"
],
"sources" : [
"CLLocationManager/CLDeviceLocationManager/DeviceLocationManager.swift",
"CLLocationManager/LocationManagerImpProtocol.swift",
"Extensions/CLLocationManager+Extension.swift",
"Extensions/Foundation+Extras.swift",
"Request/Abstract Request/RequestProtocol+Extension.swift",
"Request/Abstract Request/RequestProtocol+Support.swift",
"Request/Abstract Request/RequestProtocol.swift",
"Request/Requests/Autocomplete/AutocompleteProtocol.swift",
"Request/Requests/Autocomplete/AutocompleteRequest.swift",
"Request/Requests/Autocomplete/Services/Autocomplete-Apple.swift",
"Request/Requests/Autocomplete/Services/Autocomplete-Google.swift",
"Request/Requests/Autocomplete/Services/Autocomplete-Here.swift",
"Request/Requests/Beacon/BeaconRequest.swift",
"Request/Requests/GPSLocation/GPSLocationOptions.swift",
"Request/Requests/GPSLocation/GPSLocationRequest.swift",
"Request/Requests/Geocoder/GeocoderRequest.swift",
"Request/Requests/Geocoder/GeocoderServiceProtocol.swift",
"Request/Requests/Geocoder/Services/Geocoder-Apple.swift",
"Request/Requests/Geocoder/Services/Geocoder-Google.swift",
"Request/Requests/Geocoder/Services/Geocoder-Here.swift",
"Request/Requests/Geocoder/Services/Geocoder-MapBox.swift",
"Request/Requests/Geocoder/Services/Geocoder-OpenStreet.swift",
"Request/Requests/Geofencing/GeofencingOptions.swift",
"Request/Requests/Geofencing/GeofencingRequest.swift",
"Request/Requests/IPLocation/IPLocation+Data.swift",
"Request/Requests/IPLocation/IPLocationRequest.swift",
"Request/Requests/IPLocation/IPServiceProtocol.swift",
"Request/Requests/IPLocation/Services/IPLocation-IPApi.swift",
"Request/Requests/IPLocation/Services/IPLocation-IPData.swift",
"Request/Requests/IPLocation/Services/IPLocation-IPGeolocation.swift",
"Request/Requests/IPLocation/Services/IPLocation-IPInfo.swift",
"Request/Requests/IPLocation/Services/IPLocation-IPIpify.swift",
"Request/Requests/IPLocation/Services/IPLocation-IPStack.swift",
"Request/Requests/Visits/VisitsRequest.swift",
"Request/Support Structures/AddressMatch/PartialAddressMatch+Apple.swift",
"Request/Support Structures/AddressMatch/PartialAddressMatch+Google.swift",
"Request/Support Structures/AddressMatch/PartialAddressMatch+Here.swift",
"Request/Support Structures/AddressMatch/PartialAddressMatch.swift",
"Request/Support Structures/GeoLocation/GeoLocation+Apple.swift",
"Request/Support Structures/GeoLocation/GeoLocation+Google.swift",
"Request/Support Structures/GeoLocation/GeoLocation+Here.swift",
"Request/Support Structures/GeoLocation/GeoLocation+MapBox.swift",
"Request/Support Structures/GeoLocation/GeoLocation+OpenStreet.swift",
"Request/Support Structures/GeoLocation/GeoLocation.swift",
"Request/Support Structures/JSONNetworkHelper/JSONNetworkHelper.swift",
"SwiftLocation+Credentials.swift",
"SwiftLocation+Errors.swift",
"SwiftLocation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.