The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Cluster, reference master (d08c95), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 12:36:34 UTC.

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/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 d08c955 Rename ios.yml to ci.yml
Cloned https://github.com/efremidze/Cluster.git
Revision (git rev-parse @):
d08c955d6f065fe073846873013346488b44c92f
SUCCESS checkout https://github.com/efremidze/Cluster.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/efremidze/Cluster.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/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 '_LocationEssentials' 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 '_LocationEssentials' 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: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling Cluster QuadTree.swift
[5/8] Compiling Cluster Atomic.swift
[6/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 [#deprecation]
 10 | import MapKit
 11 |
 12 | public protocol ClusterManagerDelegate: class {
    |                                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 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 '_LocationEssentials' 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 '_LocationEssentials' 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)
[7/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 [#deprecation]
 10 | import MapKit
 11 |
 12 | public protocol ClusterManagerDelegate: class {
    |                                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 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/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 |
[8/8] Compiling Cluster Annotation.swift
/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
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:150:19: error: referencing instance method 'cornerRadius(_:antialiased:)' on 'Optional' requires that 'CALayer' conform to 'View'
148 |         if case .color = style {
149 |             layer.masksToBounds = true
150 |             layer.cornerRadius = image == nil ? bounds.width / 2 : 0
    |                   `- error: referencing instance method 'cornerRadius(_:antialiased:)' on 'Optional' requires that 'CALayer' conform to 'View'
151 |             countLabel.frame = bounds
152 |         }
SwiftUICore.Optional:2:11: note: requirement from conditional conformance of 'CALayer?' to 'View'
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Optional : View where Wrapped : View {
  |           `- note: requirement from conditional conformance of 'CALayer?' to 'View'
3 |     public typealias Body = Never
4 |     nonisolated public static func _makeView(view: _GraphValue<Wrapped?>, inputs: _ViewInputs) -> _ViewOutputs
BUILD FAILURE 6.2 macosSpm