Build Information
Failed to build Cluster with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/efremidze/Cluster.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/efremidze/Cluster
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a04bca1 Update README.md
Cloned https://github.com/efremidze/Cluster.git
Revision (git rev-parse @):
a04bca1ecfc378d66195144ab8e0dccff26435d0
SUCCESS checkout https://github.com/efremidze/Cluster.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/efremidze/Cluster.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/8] Compiling Cluster QuadTree.swift
[4/8] Compiling Cluster Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions.swift:27:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
25 | let MKMapPointMax = MKMapPoint(CLLocationCoordinate2DMax)
26 |
27 | extension CLLocationCoordinate2D: Hashable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 | public func hash(into hasher: inout Hasher) {
29 | hasher.combine(latitude)
/Users/admin/builder/spi-builder-workspace/Sources/Extensions.swift:108:13: warning: capture of 'block' with non-sendable type '(BlockOperation) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
106 | operation.addExecutionBlock { [weak operation] in
107 | guard let operation = operation else { return }
108 | block(operation)
| |- warning: capture of 'block' with non-sendable type '(BlockOperation) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | }
110 | self.addOperation(operation)
[5/8] Compiling Cluster Atomic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Atomic.swift:23:46: warning: capture of 'self' with non-sendable type 'Atomic<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @propertyWrapper
12 | class Atomic<Value> {
| `- note: generic class 'Atomic' does not conform to the 'Sendable' protocol
13 | private let queue = DispatchQueue(label: "Atomic serial queue", attributes: .concurrent)
14 |
:
21 | var wrappedValue: Value {
22 | get { return queue.sync { _value } }
23 | set { queue.async(flags: .barrier) { self._value = newValue } }
| `- warning: capture of 'self' with non-sendable type 'Atomic<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Atomic.swift:23:60: warning: capture of 'newValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 |
11 | @propertyWrapper
12 | class Atomic<Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
13 | private let queue = DispatchQueue(label: "Atomic serial queue", attributes: .concurrent)
14 |
:
21 | var wrappedValue: Value {
22 | get { return queue.sync { _value } }
23 | set { queue.async(flags: .barrier) { self._value = newValue } }
| `- warning: capture of 'newValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | }
25 | }
[6/8] Compiling Cluster Cluster.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:12:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 | import MapKit
11 |
12 | public protocol ClusterManagerDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 | /**
14 | The size of each cell on the grid (The larger the size, the better the performance) at a given zoom level.
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:161:13: warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | open class ClusterManager {
| `- note: class 'ClusterManager' does not conform to the 'Sendable' protocol
45 |
46 | var tree = QuadTree(rect: .world)
:
159 | operationQueue.cancelAllOperations()
160 | dispatchQueue.async(flags: .barrier) { [weak self] in
161 | self?.tree.add(annotation)
| `- warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:161:28: warning: capture of 'annotation' with non-sendable type 'any MKAnnotation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
159 | operationQueue.cancelAllOperations()
160 | dispatchQueue.async(flags: .barrier) { [weak self] in
161 | self?.tree.add(annotation)
| `- warning: capture of 'annotation' with non-sendable type 'any MKAnnotation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 | }
163 | }
MapKit.MKAnnotation:1:17: note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
1 | public protocol MKAnnotation : NSObjectProtocol {
| `- note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
2 | var coordinate: CLLocationCoordinate2D { get }
3 | optional var title: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MapKit'
8 |
9 | import CoreLocation
10 | import MapKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MapKit'
11 |
12 | public protocol ClusterManagerDelegate: class {
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:174:31: warning: capture of 'annotations' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | operationQueue.cancelAllOperations()
173 | dispatchQueue.async(flags: .barrier) { [weak self] in
174 | for annotation in annotations {
| `- warning: capture of 'annotations' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
175 | self?.tree.add(annotation)
176 | }
MapKit.MKAnnotation:1:17: note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
1 | public protocol MKAnnotation : NSObjectProtocol {
| `- note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
2 | var coordinate: CLLocationCoordinate2D { get }
3 | optional var title: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:175:17: warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | open class ClusterManager {
| `- note: class 'ClusterManager' does not conform to the 'Sendable' protocol
45 |
46 | var tree = QuadTree(rect: .world)
:
173 | dispatchQueue.async(flags: .barrier) { [weak self] in
174 | for annotation in annotations {
175 | self?.tree.add(annotation)
| `- warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
176 | }
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:189:13: warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | open class ClusterManager {
| `- note: class 'ClusterManager' does not conform to the 'Sendable' protocol
45 |
46 | var tree = QuadTree(rect: .world)
:
187 | operationQueue.cancelAllOperations()
188 | dispatchQueue.async(flags: .barrier) { [weak self] in
189 | self?.tree.remove(annotation)
| `- warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 | }
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:189:31: warning: capture of 'annotation' with non-sendable type 'any MKAnnotation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 | operationQueue.cancelAllOperations()
188 | dispatchQueue.async(flags: .barrier) { [weak self] in
189 | self?.tree.remove(annotation)
| `- warning: capture of 'annotation' with non-sendable type 'any MKAnnotation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 | }
191 | }
MapKit.MKAnnotation:1:17: note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
1 | public protocol MKAnnotation : NSObjectProtocol {
| `- note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
2 | var coordinate: CLLocationCoordinate2D { get }
3 | optional var title: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:202:31: warning: capture of 'annotations' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
200 | operationQueue.cancelAllOperations()
201 | dispatchQueue.async(flags: .barrier) { [weak self] in
202 | for annotation in annotations {
| `- warning: capture of 'annotations' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
203 | self?.tree.remove(annotation)
204 | }
MapKit.MKAnnotation:1:17: note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
1 | public protocol MKAnnotation : NSObjectProtocol {
| `- note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
2 | var coordinate: CLLocationCoordinate2D { get }
3 | optional var title: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:203:17: warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | open class ClusterManager {
| `- note: class 'ClusterManager' does not conform to the 'Sendable' protocol
45 |
46 | var tree = QuadTree(rect: .world)
:
201 | dispatchQueue.async(flags: .barrier) { [weak self] in
202 | for annotation in annotations {
203 | self?.tree.remove(annotation)
| `- warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
204 | }
205 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:214:13: warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | open class ClusterManager {
| `- note: class 'ClusterManager' does not conform to the 'Sendable' protocol
45 |
46 | var tree = QuadTree(rect: .world)
:
212 | operationQueue.cancelAllOperations()
213 | dispatchQueue.async(flags: .barrier) { [weak self] in
214 | self?.tree = QuadTree(rect: .world)
| `- warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
215 | }
216 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:238:33: warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
235 | - completion: A closure to be executed when the reload finishes. The closure has no return value and takes a single Boolean argument that indicates whether or not the reload actually finished before the completion handler was called.
236 | */
237 | open func reload(mapView: MKMapView, completion: @escaping (Bool) -> Void = { finished in }) {
| `- note: add '@MainActor' to make instance method 'reload(mapView:completion:)' part of global actor 'MainActor'
238 | let mapBounds = mapView.bounds
| `- warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
239 | let visibleMapRect = mapView.visibleMapRect
240 | let visibleMapRectWidth = visibleMapRect.size.width
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:239:38: warning: main actor-isolated property 'visibleMapRect' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
235 | - completion: A closure to be executed when the reload finishes. The closure has no return value and takes a single Boolean argument that indicates whether or not the reload actually finished before the completion handler was called.
236 | */
237 | open func reload(mapView: MKMapView, completion: @escaping (Bool) -> Void = { finished in }) {
| `- note: add '@MainActor' to make instance method 'reload(mapView:completion:)' part of global actor 'MainActor'
238 | let mapBounds = mapView.bounds
239 | let visibleMapRect = mapView.visibleMapRect
| `- warning: main actor-isolated property 'visibleMapRect' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
240 | let visibleMapRectWidth = visibleMapRect.size.width
241 | let zoomScale = Double(mapBounds.width) / visibleMapRectWidth
MapKit.MKMapView:15:25: note: property declared here
13 | open func setCenterCoordinate(_ coordinate: CLLocationCoordinate2D, animated: Bool)
14 | open func regionThatFits(_ region: MKCoordinateRegion) -> MKCoordinateRegion
15 | @MainActor open var visibleMapRect: MKMapRect { get set }
| `- note: property declared here
16 | open func setVisibleMapRect(_ mapRect: MKMapRect, animated animate: Bool)
17 | open func mapRectThatFits(_ mapRect: MKMapRect) -> MKMapRect
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:248:38: warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | open class ClusterManager {
| `- note: class 'ClusterManager' does not conform to the 'Sendable' protocol
45 |
46 | var tree = QuadTree(rect: .world)
:
246 | let (toAdd, toRemove) = self.clusteredAnnotations(zoomScale: zoomScale, visibleMapRect: visibleMapRect, operation: operation)
247 | DispatchQueue.main.async { [weak self, weak mapView] in
248 | guard let self = self, let mapView = mapView else { return completion(false) }
| `- warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
249 | self.display(mapView: mapView, toAdd: toAdd, toRemove: toRemove)
250 | completion(true)
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:248:80: warning: capture of 'completion' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
246 | let (toAdd, toRemove) = self.clusteredAnnotations(zoomScale: zoomScale, visibleMapRect: visibleMapRect, operation: operation)
247 | DispatchQueue.main.async { [weak self, weak mapView] in
248 | guard let self = self, let mapView = mapView else { return completion(false) }
| |- warning: capture of 'completion' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
249 | self.display(mapView: mapView, toAdd: toAdd, toRemove: toRemove)
250 | completion(true)
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:249:59: warning: capture of 'toAdd' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 | DispatchQueue.main.async { [weak self, weak mapView] in
248 | guard let self = self, let mapView = mapView else { return completion(false) }
249 | self.display(mapView: mapView, toAdd: toAdd, toRemove: toRemove)
| `- warning: capture of 'toAdd' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
250 | completion(true)
251 | }
MapKit.MKAnnotation:1:17: note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
1 | public protocol MKAnnotation : NSObjectProtocol {
| `- note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
2 | var coordinate: CLLocationCoordinate2D { get }
3 | optional var title: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:249:76: warning: capture of 'toRemove' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 | DispatchQueue.main.async { [weak self, weak mapView] in
248 | guard let self = self, let mapView = mapView else { return completion(false) }
249 | self.display(mapView: mapView, toAdd: toAdd, toRemove: toRemove)
| `- warning: capture of 'toRemove' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
250 | completion(true)
251 | }
MapKit.MKAnnotation:1:17: note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
1 | public protocol MKAnnotation : NSObjectProtocol {
| `- note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
2 | var coordinate: CLLocationCoordinate2D { get }
3 | optional var title: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:288:13: warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | open class ClusterManager {
| `- note: class 'ClusterManager' does not conform to the 'Sendable' protocol
45 |
46 | var tree = QuadTree(rect: .world)
:
286 |
287 | dispatchQueue.async(flags: .barrier) { [weak self] in
288 | self?.visibleAnnotations.subtract(toRemove)
| `- warning: capture of 'self' with non-sendable type 'ClusterManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 | self?.visibleAnnotations.add(toAdd)
290 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:288:47: warning: capture of 'toRemove' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
286 |
287 | dispatchQueue.async(flags: .barrier) { [weak self] in
288 | self?.visibleAnnotations.subtract(toRemove)
| `- warning: capture of 'toRemove' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
289 | self?.visibleAnnotations.add(toAdd)
290 | }
MapKit.MKAnnotation:1:17: note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
1 | public protocol MKAnnotation : NSObjectProtocol {
| `- note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
2 | var coordinate: CLLocationCoordinate2D { get }
3 | optional var title: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:289:42: warning: capture of 'toAdd' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
287 | dispatchQueue.async(flags: .barrier) { [weak self] in
288 | self?.visibleAnnotations.subtract(toRemove)
289 | self?.visibleAnnotations.add(toAdd)
| `- warning: capture of 'toAdd' with non-sendable type '[any MKAnnotation]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
290 | }
291 |
MapKit.MKAnnotation:1:17: note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
1 | public protocol MKAnnotation : NSObjectProtocol {
| `- note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
2 | var coordinate: CLLocationCoordinate2D { get }
3 | optional var title: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:288:47: warning: reference to captured var 'toRemove' in concurrently-executing code; this is an error in the Swift 6 language mode
286 |
287 | dispatchQueue.async(flags: .barrier) { [weak self] in
288 | self?.visibleAnnotations.subtract(toRemove)
| `- warning: reference to captured var 'toRemove' in concurrently-executing code; this is an error in the Swift 6 language mode
289 | self?.visibleAnnotations.add(toAdd)
290 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:330:26: warning: capture of 'hash' with non-sendable type '[CLLocationCoordinate2D : [any MKAnnotation]]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
328 | let hash = Dictionary(grouping: annotations) { $0.coordinate }
329 | dispatchQueue.async(flags: .barrier) {
330 | for value in hash.values where value.count > 1 {
| `- warning: capture of 'hash' with non-sendable type '[CLLocationCoordinate2D : [any MKAnnotation]]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 | for (index, annotation) in value.enumerated() {
332 | tree.remove(annotation)
MapKit.MKAnnotation:1:17: note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
1 | public protocol MKAnnotation : NSObjectProtocol {
| `- note: protocol 'MKAnnotation' does not conform to the 'Sendable' protocol
2 | var coordinate: CLLocationCoordinate2D { get }
3 | optional var title: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:332:21: warning: capture of 'tree' with non-sendable type 'QuadTree' in a `@Sendable` closure; this is an error in the Swift 6 language mode
330 | for value in hash.values where value.count > 1 {
331 | for (index, annotation) in value.enumerated() {
332 | tree.remove(annotation)
| `- warning: capture of 'tree' with non-sendable type 'QuadTree' in a `@Sendable` closure; this is an error in the Swift 6 language mode
333 | let radiansBetweenAnnotations = (.pi * 2) / Double(value.count)
334 | let bearing = radiansBetweenAnnotations * Double(index)
/Users/admin/builder/spi-builder-workspace/Sources/QuadTree.swift:149:14: note: class 'QuadTree' does not conform to the 'Sendable' protocol
147 | }
148 |
149 | public class QuadTree: AnnotationsContainer {
| `- note: class 'QuadTree' does not conform to the 'Sendable' protocol
150 |
151 | let root: QuadTreeNode
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:335:152: warning: capture of 'self' with non-sendable type 'ClusterManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 |
44 | open class ClusterManager {
| `- note: class 'ClusterManager' does not conform to the 'Sendable' protocol
45 |
46 | var tree = QuadTree(rect: .world)
:
333 | let radiansBetweenAnnotations = (.pi * 2) / Double(value.count)
334 | let bearing = radiansBetweenAnnotations * Double(index)
335 | (annotation as? MKPointAnnotation)?.coordinate = annotation.coordinate.coordinate(onBearingInRadians: bearing, atDistanceInMeters: self.distanceFromContestedLocation)
| `- warning: capture of 'self' with non-sendable type 'ClusterManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
336 | tree.add(annotation)
337 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:385:17: warning: call to main actor-isolated instance method 'removeAnnotations' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
381 | }
382 |
383 | open func display(mapView: MKMapView, toAdd: [MKAnnotation], toRemove: [MKAnnotation]) {
| `- note: add '@MainActor' to make instance method 'display(mapView:toAdd:toRemove:)' part of global actor 'MainActor'
384 | assert(Thread.isMainThread, "This function must be called from the main thread.")
385 | mapView.removeAnnotations(toRemove)
| `- warning: call to main actor-isolated instance method 'removeAnnotations' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
386 | mapView.addAnnotations(toAdd)
387 | }
MapKit.MKMapView:94:15: note: calls to instance method 'removeAnnotations' from outside of its actor context are implicitly asynchronous
92 | open func addAnnotations(_ annotations: [any MKAnnotation])
93 | open func removeAnnotation(_ annotation: any MKAnnotation)
94 | open func removeAnnotations(_ annotations: [any MKAnnotation])
| `- note: calls to instance method 'removeAnnotations' from outside of its actor context are implicitly asynchronous
95 | open var annotations: [any MKAnnotation] { get }
96 | @available(macOS 10.9, *)
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:386:17: warning: call to main actor-isolated instance method 'addAnnotations' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
381 | }
382 |
383 | open func display(mapView: MKMapView, toAdd: [MKAnnotation], toRemove: [MKAnnotation]) {
| `- note: add '@MainActor' to make instance method 'display(mapView:toAdd:toRemove:)' part of global actor 'MainActor'
384 | assert(Thread.isMainThread, "This function must be called from the main thread.")
385 | mapView.removeAnnotations(toRemove)
386 | mapView.addAnnotations(toAdd)
| `- warning: call to main actor-isolated instance method 'addAnnotations' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
387 | }
388 |
MapKit.MKMapView:92:15: note: calls to instance method 'addAnnotations' from outside of its actor context are implicitly asynchronous
90 | open var userLocationVisible: Bool { get }
91 | open func addAnnotation(_ annotation: any MKAnnotation)
92 | open func addAnnotations(_ annotations: [any MKAnnotation])
| `- note: calls to instance method 'addAnnotations' from outside of its actor context are implicitly asynchronous
93 | open func removeAnnotation(_ annotation: any MKAnnotation)
94 | open func removeAnnotations(_ annotations: [any MKAnnotation])
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
82 | - `radius`: The radius of the annotation circle
83 | */
84 | case color(UIColor, radius: CGFloat)
| `- error: cannot find type 'UIColor' in scope
85 |
86 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
87 | Displays the annotation as an image.
88 | */
89 | case image(UIImage?)
| `- error: cannot find type 'UIImage' in scope
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:248:38: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
246 | let (toAdd, toRemove) = self.clusteredAnnotations(zoomScale: zoomScale, visibleMapRect: visibleMapRect, operation: operation)
247 | DispatchQueue.main.async { [weak self, weak mapView] in
248 | guard let self = self, let mapView = mapView else { return completion(false) }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
249 | self.display(mapView: mapView, toAdd: toAdd, toRemove: toRemove)
250 | completion(true)
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:248:80: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
246 | let (toAdd, toRemove) = self.clusteredAnnotations(zoomScale: zoomScale, visibleMapRect: visibleMapRect, operation: operation)
247 | DispatchQueue.main.async { [weak self, weak mapView] in
248 | guard let self = self, let mapView = mapView else { return completion(false) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
249 | self.display(mapView: mapView, toAdd: toAdd, toRemove: toRemove)
250 | completion(true)
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:249:59: warning: sending 'toAdd' risks causing data races; this is an error in the Swift 6 language mode
247 | DispatchQueue.main.async { [weak self, weak mapView] in
248 | guard let self = self, let mapView = mapView else { return completion(false) }
249 | self.display(mapView: mapView, toAdd: toAdd, toRemove: toRemove)
| |- warning: sending 'toAdd' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'toAdd' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
250 | completion(true)
251 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:249:76: warning: sending 'toRemove' risks causing data races; this is an error in the Swift 6 language mode
247 | DispatchQueue.main.async { [weak self, weak mapView] in
248 | guard let self = self, let mapView = mapView else { return completion(false) }
249 | self.display(mapView: mapView, toAdd: toAdd, toRemove: toRemove)
| |- warning: sending 'toRemove' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'toRemove' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
250 | completion(true)
251 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:385:17: warning: sending 'toRemove._bridgeToObjectiveC' risks causing data races; this is an error in the Swift 6 language mode
383 | open func display(mapView: MKMapView, toAdd: [MKAnnotation], toRemove: [MKAnnotation]) {
384 | assert(Thread.isMainThread, "This function must be called from the main thread.")
385 | mapView.removeAnnotations(toRemove)
| |- warning: sending 'toRemove._bridgeToObjectiveC' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'toRemove._bridgeToObjectiveC' to main actor-isolated instance method 'removeAnnotations' risks causing data races between main actor-isolated and task-isolated uses
386 | mapView.addAnnotations(toAdd)
387 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:386:17: warning: sending 'toAdd._bridgeToObjectiveC' risks causing data races; this is an error in the Swift 6 language mode
384 | assert(Thread.isMainThread, "This function must be called from the main thread.")
385 | mapView.removeAnnotations(toRemove)
386 | mapView.addAnnotations(toAdd)
| |- warning: sending 'toAdd._bridgeToObjectiveC' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'toAdd._bridgeToObjectiveC' to main actor-isolated instance method 'addAnnotations' risks causing data races between main actor-isolated and task-isolated uses
387 | }
388 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module Cluster
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:47:31: error: cannot find type 'UILabel' in scope
45 | */
46 | open class ClusterAnnotationView: MKAnnotationView {
47 | open lazy var countLabel: UILabel = {
| `- error: cannot find type 'UILabel' in scope
48 | let label = UILabel()
49 | label.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
82 | - `radius`: The radius of the annotation circle
83 | */
84 | case color(UIColor, radius: CGFloat)
| `- error: cannot find type 'UIColor' in scope
85 |
86 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
87 | Displays the annotation as an image.
88 | */
89 | case image(UIImage?)
| `- error: cannot find type 'UIImage' in scope
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:145:24: error: method does not override any method from its superclass
143 | }
144 |
145 | override open func layoutSubviews() {
| `- error: method does not override any method from its superclass
146 | super.layoutSubviews()
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift:12:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
10 | import MapKit
11 |
12 | public protocol ClusterManagerDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
13 | /**
14 | The size of each cell on the grid (The larger the size, the better the performance) at a given zoom level.
/Users/admin/builder/spi-builder-workspace/Sources/Extensions.swift:27:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
25 | let MKMapPointMax = MKMapPoint(CLLocationCoordinate2DMax)
26 |
27 | extension CLLocationCoordinate2D: Hashable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 | public func hash(into hasher: inout Hasher) {
29 | hasher.combine(latitude)
error: compile command failed due to signal 6 (use -v to see invocation)
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:47:31: error: cannot find type 'UILabel' in scope
45 | */
46 | open class ClusterAnnotationView: MKAnnotationView {
47 | open lazy var countLabel: UILabel = {
| `- error: cannot find type 'UILabel' in scope
48 | let label = UILabel()
49 | label.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
82 | - `radius`: The radius of the annotation circle
83 | */
84 | case color(UIColor, radius: CGFloat)
| `- error: cannot find type 'UIColor' in scope
85 |
86 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
87 | Displays the annotation as an image.
88 | */
89 | case image(UIImage?)
| `- error: cannot find type 'UIImage' in scope
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:145:24: error: method does not override any method from its superclass
143 | }
144 |
145 | override open func layoutSubviews() {
| `- error: method does not override any method from its superclass
146 | super.layoutSubviews()
147 |
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:127:13: error: cannot find 'backgroundColor' in scope
125 | switch style {
126 | case let .image(image):
127 | backgroundColor = .clear
| `- error: cannot find 'backgroundColor' in scope
128 | self.image = image
129 | case let .color(color, radius):
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:131:13: error: cannot find 'backgroundColor' in scope
129 | case let .color(color, radius):
130 | let count = annotation.annotations.count
131 | backgroundColor = color
| `- error: cannot find 'backgroundColor' in scope
132 | var diameter = radius * 2
133 | switch count {
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:146:15: error: value of type 'ClusterAnnotationView' has no member 'layoutSubviews'
144 |
145 | override open func layoutSubviews() {
146 | super.layoutSubviews()
| `- error: value of type 'ClusterAnnotationView' has no member 'layoutSubviews'
147 |
148 | if case .color = style {
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:149:13: error: value of optional type 'CALayer?' must be unwrapped to refer to member 'masksToBounds' of wrapped base type 'CALayer'
147 |
148 | if case .color = style {
149 | layer.masksToBounds = true
| |- error: value of optional type 'CALayer?' must be unwrapped to refer to member 'masksToBounds' of wrapped base type 'CALayer'
| |- note: chain the optional using '?' to access member 'masksToBounds' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
150 | layer.cornerRadius = image == nil ? bounds.width / 2 : 0
151 | countLabel.frame = bounds
Can't demangle: $s7Cluster0A15AnnotationStyleO5color33_4871B45FE74C870959DC3F69042BAE5ELLXeF6radiusL_14CoreFoundation7CGFloatVvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift /Users/admin/builder/spi-builder-workspace/Sources/Atomic.swift /Users/admin/builder/spi-builder-workspace/Sources/Cluster.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/QuadTree.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Cluster.build/Annotation.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Cluster.build/Annotation.swiftdeps -target arm64-apple-macosx10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -isysroot -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -Xcc -F -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -fPIC -Xcc -g -module-name Cluster -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 14.4 -target-sdk-name macosx14.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Cluster.build/Annotation.swift.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1. Apple Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While walking into 'ClusterAnnotationStyle' (at /Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:77:8)
4. While evaluating request USRGenerationRequest(Cluster.(file).ClusterAnnotationStyle.color(_:radius:).radius@/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:84:25)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x00000001064c7bf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x00000001064c63bc llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x00000001064c8238 SignalHandler(int) + 304
3 libsystem_platform.dylib 0x000000018a641a24 _sigtramp + 56
4 libsystem_pthread.dylib 0x000000018a611cc0 pthread_kill + 288
5 libsystem_c.dylib 0x000000018a51da40 abort + 180
6 swift-frontend 0x0000000106a6fe6c swift::Mangle::Mangler::verify(llvm::StringRef) (.cold.2) + 0
7 swift-frontend 0x0000000102983904 swift::Mangle::Mangler::verify(llvm::StringRef) + 744
8 swift-frontend 0x000000010263e0cc swift::Mangle::ASTMangler::mangleDeclAsUSR(swift::ValueDecl const*, llvm::StringRef) + 104
9 swift-frontend 0x00000001029749e8 swift::USRGenerationRequest::evaluate(swift::Evaluator&, swift::ValueDecl const*) const + 960
10 swift-frontend 0x00000001011ed350 swift::USRGenerationRequest::OutputType swift::Evaluator::getResultUncached<swift::USRGenerationRequest, swift::USRGenerationRequest::OutputType swift::evaluateOrDefault<swift::USRGenerationRequest>(swift::Evaluator&, swift::USRGenerationRequest, swift::USRGenerationRequest::OutputType)::'lambda'()>(swift::USRGenerationRequest const&, swift::USRGenerationRequest::OutputType swift::evaluateOrDefault<swift::USRGenerationRequest>(swift::Evaluator&, swift::USRGenerationRequest, swift::USRGenerationRequest::OutputType)::'lambda'()) + 264
11 swift-frontend 0x00000001011ed130 swift::USRGenerationRequest::OutputType swift::Evaluator::getResultCached<swift::USRGenerationRequest, swift::USRGenerationRequest::OutputType swift::evaluateOrDefault<swift::USRGenerationRequest>(swift::Evaluator&, swift::USRGenerationRequest, swift::USRGenerationRequest::OutputType)::'lambda'(), (void*)0>(swift::USRGenerationRequest const&, swift::USRGenerationRequest::OutputType swift::evaluateOrDefault<swift::USRGenerationRequest>(swift::Evaluator&, swift::USRGenerationRequest, swift::USRGenerationRequest::OutputType)::'lambda'()) + 412
12 swift-frontend 0x0000000102975390 swift::ide::printValueDeclUSR(swift::ValueDecl const*, llvm::raw_ostream&) + 144
13 swift-frontend 0x00000001011c4464 (anonymous namespace)::IndexSwiftASTWalker::getNameAndUSR(swift::ValueDecl*, swift::ExtensionDecl*, llvm::StringRef&, llvm::StringRef&) + 336
14 swift-frontend 0x00000001011c3b38 (anonymous namespace)::IndexSwiftASTWalker::initIndexSymbol(swift::ValueDecl*, swift::SourceLoc, bool, swift::index::IndexSymbol&) + 156
15 swift-frontend 0x00000001011c2060 (anonymous namespace)::IndexSwiftASTWalker::walkToDeclPre(swift::Decl*, swift::CharSourceRange) + 2968
16 swift-frontend 0x0000000101cee7f4 (anonymous namespace)::SemaAnnotator::walkToDeclPre(swift::Decl*) + 1904
17 swift-frontend 0x0000000102695c18 (anonymous namespace)::Traversal::doIt(swift::Decl*) + 252
18 swift-frontend 0x000000010269708c (anonymous namespace)::Traversal::visitParameterList(swift::ParameterList*) + 92
19 swift-frontend 0x0000000102698e24 (anonymous namespace)::Traversal::visit(swift::Decl*) + 1900
20 swift-frontend 0x0000000102695c3c (anonymous namespace)::Traversal::doIt(swift::Decl*) + 288
21 swift-frontend 0x0000000102699560 (anonymous namespace)::Traversal::visitNominalTypeDecl(swift::NominalTypeDecl*) + 480
22 swift-frontend 0x0000000102698744 (anonymous namespace)::Traversal::visit(swift::Decl*) + 140
23 swift-frontend 0x0000000102695c3c (anonymous namespace)::Traversal::doIt(swift::Decl*) + 288
24 swift-frontend 0x0000000102695b10 swift::Decl::walk(swift::ASTWalker&) + 32
25 swift-frontend 0x00000001028440d0 swift::SourceFile::walk(swift::ASTWalker&) + 196
26 swift-frontend 0x0000000101ceca1c swift::SourceEntityWalker::walk(swift::SourceFile&) + 200
27 swift-frontend 0x00000001011c1264 (anonymous namespace)::IndexSwiftASTWalker::visitModule(swift::ModuleDecl&) + 196
28 swift-frontend 0x00000001011c114c swift::index::indexSourceFile(swift::SourceFile*, swift::index::IndexDataConsumer&) + 364
29 swift-frontend 0x00000001011c8a68 recordSourceFileUnit(swift::SourceFile*, llvm::StringRef, llvm::StringRef, bool, bool, bool, bool, bool, bool, llvm::StringRef, llvm::ArrayRef<clang::FileEntry const*>, clang::CompilerInstance const&, swift::PathRemapper const&, swift::DiagnosticEngine&) + 1216
30 swift-frontend 0x00000001011c8540 swift::index::indexAndRecord(swift::SourceFile*, llvm::StringRef, llvm::StringRef, bool, bool, bool, bool, bool, bool, llvm::StringRef, swift::DependencyTracker const&, swift::PathRemapper const&) + 420
31 swift-frontend 0x00000001010497a8 emitIndexDataForSourceFile(swift::SourceFile*, swift::CompilerInstance const&) + 300
32 swift-frontend 0x00000001010479f0 performEndOfPipelineActions(swift::CompilerInstance&) + 6344
33 swift-frontend 0x00000001010435b0 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 740
34 swift-frontend 0x00000001010424fc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2388
35 swift-frontend 0x0000000100e5c3b0 swift::mainEntry(int, char const**) + 3096
36 dyld 0x000000018a2910e0 start + 2360
BUILD FAILURE 6.0 macosSpm