Build Information
Failed to build Cluster, reference master (1cb20c
), with Swift 5.10 for macOS (SPM) on 8 Jul 2025 22:28:34 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.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 1cb20cb Upgrade Swift Package (#143)
Cloned https://github.com/efremidze/Cluster.git
Revision (git rev-parse @):
1cb20cb1e256c13202a9c370558c2c7ebcdb41ba
SUCCESS checkout https://github.com/efremidze/Cluster.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/efremidze/Cluster.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Compiling Cluster Atomic.swift
[4/8] Compiling Cluster QuadTree.swift
[5/8] Compiling Cluster Extensions.swift
[6/8] Emitting module Cluster
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:47:31: error: cannot find type 'UILabel' in scope
open lazy var countLabel: UILabel = {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
case color(UIColor, radius: CGFloat)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
case image(UIImage?)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:145:24: error: method does not override any method from its superclass
override open func layoutSubviews() {
~~~~~~~~ ^
[7/8] Compiling Cluster Annotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:47:31: error: cannot find type 'UILabel' in scope
open lazy var countLabel: UILabel = {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
case color(UIColor, radius: CGFloat)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
case image(UIImage?)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:145:24: error: method does not override any method from its superclass
override open func layoutSubviews() {
~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:127:13: error: cannot find 'backgroundColor' in scope
backgroundColor = .clear
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:131:13: error: cannot find 'backgroundColor' in scope
backgroundColor = color
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:146:15: error: value of type 'ClusterAnnotationView' has no member 'layoutSubviews'
super.layoutSubviews()
~~~~~ ^~~~~~~~~~~~~~
/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'
layer.masksToBounds = true
^
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:149:13: note: chain the optional using '?' to access member 'masksToBounds' only for non-'nil' base values
layer.masksToBounds = true
^
?
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:149:13: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
layer.masksToBounds = true
^
!
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:150:13: error: value of optional type 'CALayer?' must be unwrapped to refer to member 'cornerRadius' of wrapped base type 'CALayer'
layer.cornerRadius = image == nil ? bounds.width / 2 : 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:150:13: note: chain the optional using '?' to access member 'cornerRadius' only for non-'nil' base values
layer.cornerRadius = image == nil ? bounds.width / 2 : 0
^
?
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:150:13: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
layer.cornerRadius = image == nil ? bounds.width / 2 : 0
^
!
[8/8] Compiling Cluster Cluster.swift
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
case color(UIColor, radius: CGFloat)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
case image(UIImage?)
^~~~~~~
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/Info.plist
BUILD FAILURE 5.10 macosSpm