Build Information
Failed to build Cluster with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/efremidze/Cluster.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "cluster",
"name": "Cluster",
"url": "https://github.com/efremidze/Cluster.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Cluster",
"dependencies": [
]
}
]
}
Fetching https://github.com/efremidze/Cluster.git
[1/1927] Fetching cluster
Fetched https://github.com/efremidze/Cluster.git (0.78s)
Creating working copy for https://github.com/efremidze/Cluster.git
Working copy of https://github.com/efremidze/Cluster.git resolved at master
warning: '.resolve-product-dependencies': dependency 'cluster' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/6] Emitting module Cluster
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:47:31: error: cannot find type 'UILabel' in scope
open lazy var countLabel: UILabel = {
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
case color(UIColor, radius: CGFloat)
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
case image(UIImage?)
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:145:24: error: method does not override any method from its superclass
override open func layoutSubviews() {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Cluster.swift:12:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol ClusterManagerDelegate: class {
^~~~~
AnyObject
[2/6] Compiling Cluster Extensions.swift
[3/6] Compiling Cluster QuadTree.swift
[4/6] Compiling Cluster Atomic.swift
[5/6] Compiling Cluster Cluster.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Cluster.swift:12:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol ClusterManagerDelegate: class {
^~~~~
AnyObject
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
case color(UIColor, radius: CGFloat)
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
case image(UIImage?)
^~~~~~~
[6/6] Compiling Cluster Annotation.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:47:31: error: cannot find type 'UILabel' in scope
open lazy var countLabel: UILabel = {
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
case color(UIColor, radius: CGFloat)
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
case image(UIImage?)
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:145:24: error: method does not override any method from its superclass
override open func layoutSubviews() {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:127:13: error: cannot find 'backgroundColor' in scope
backgroundColor = .clear
^~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:131:13: error: cannot find 'backgroundColor' in scope
backgroundColor = color
^~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:146:15: error: value of type 'ClusterAnnotationView' has no member 'layoutSubviews'
super.layoutSubviews()
~~~~~ ^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
^
!
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module Cluster
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:47:31: error: cannot find type 'UILabel' in scope
open lazy var countLabel: UILabel = {
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
case color(UIColor, radius: CGFloat)
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
case image(UIImage?)
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:145:24: error: method does not override any method from its superclass
override open func layoutSubviews() {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Cluster.swift:12:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol ClusterManagerDelegate: class {
^~~~~
AnyObject
[2/3] Compiling Cluster Cluster.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Cluster.swift:12:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol ClusterManagerDelegate: class {
^~~~~
AnyObject
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
case color(UIColor, radius: CGFloat)
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
case image(UIImage?)
^~~~~~~
[3/3] Compiling Cluster Annotation.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:47:31: error: cannot find type 'UILabel' in scope
open lazy var countLabel: UILabel = {
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:84:16: error: cannot find type 'UIColor' in scope
case color(UIColor, radius: CGFloat)
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:89:16: error: cannot find type 'UIImage' in scope
case image(UIImage?)
^~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:145:24: error: method does not override any method from its superclass
override open func layoutSubviews() {
~~~~~~~~ ^
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:127:13: error: cannot find 'backgroundColor' in scope
backgroundColor = .clear
^~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:131:13: error: cannot find 'backgroundColor' in scope
backgroundColor = color
^~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Annotation.swift:146:15: error: value of type 'ClusterAnnotationView' has no member 'layoutSubviews'
super.layoutSubviews()
~~~~~ ^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-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
^
!
error: fatalError
BUILD FAILURE 5.9 macosSpm