Build Information
Failed to build EasyConfetti 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/onmyway133/EasyConfetti.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/onmyway133/EasyConfetti
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 29e5f96 Update
Cloned https://github.com/onmyway133/EasyConfetti.git
Revision (git rev-parse @):
29e5f9646e286df9eed3efd1a52d1214873a0670
SUCCESS checkout https://github.com/onmyway133/EasyConfetti.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "easyconfetti",
"name": "EasyConfetti",
"url": "https://github.com/onmyway133/EasyConfetti.git",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EasyConfetti",
"dependencies": [
]
}
]
}
Fetching https://github.com/onmyway133/EasyConfetti.git
[1/605] Fetching easyconfetti
Fetched https://github.com/onmyway133/EasyConfetti.git (2.28s)
Creating working copy for https://github.com/onmyway133/EasyConfetti.git
Working copy of https://github.com/onmyway133/EasyConfetti.git resolved at master
warning: '.resolve-product-dependencies': dependency 'easyconfetti' 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...
[1/6] Compiling EasyConfetti Configuration.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
case image([UIImage])
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
public var colors: [UIColor] = [
^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Compiling EasyConfetti Extensions.swift
[3/6] Compiling EasyConfetti ImageGenerator.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:18:69: error: cannot find type 'UIImage' in scope
private func generate(block: @escaping (CGContext?) -> Void) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:40:64: error: cannot find type 'UIImage' in scope
func generate(size: CGSize, string: NSAttributedString) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:48:53: error: cannot find type 'UIImage' in scope
func confetti(shape: Particle.ConfettiShape) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:57:33: error: cannot find type 'UIImage' in scope
private func rectangle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:67:30: error: cannot find type 'UIImage' in scope
private func circle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:77:32: error: cannot find type 'UIImage' in scope
private func triangle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:90:43: error: cannot find type 'UIImage' in scope
private func curvedQuadrilateral() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:19:20: error: cannot find type 'UIImage' in scope
var image: UIImage?
^~~~~~~
[4/6] Compiling EasyConfetti EasyConfetti.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:20:26: error: method does not override any method from its superclass
public override func viewDidMoveToSuperview() {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:100:27: error: cannot find type 'UIImage' in scope
func pickImages() -> [UIImage] {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:15:28: error: cannot find type 'UIView' in scope
public class ConfettiView: UIView {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:21:9: error: 'super' members cannot be referenced in a root class
super.viewDidMoveToSuperview()
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:23:9: error: cannot find 'wantsLayer' in scope
wantsLayer = true
^~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:40:19: error: cannot find 'bounds' in scope
yOrigin = bounds.height
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:45:46: error: cannot find 'bounds' in scope
emitter.emitterPosition = CGPoint(x: bounds.width / 2, y: yOrigin)
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:47:45: error: cannot find 'bounds' in scope
emitter.emitterSize = CGSize(width: bounds.width, height: 1)
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:53:35: error: cannot find type 'UIColor' in scope
let combinations = Array<(UIColor, UIImage)>.createAllCombinations(
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:53:44: error: cannot find type 'UIImage' in scope
let combinations = Array<(UIColor, UIImage)>.createAllCombinations(
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
public var colors: [UIColor] = [
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:89:35: error: cannot find 'layer' in scope
let rootLayer: CALayer? = layer
^~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
case image([UIImage])
^~~~~~~
[5/6] Compiling EasyConfetti macOS+extensions.swift
[6/6] Emitting module EasyConfetti
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
case image([UIImage])
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
public var colors: [UIColor] = [
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:20:26: error: method does not override any method from its superclass
public override func viewDidMoveToSuperview() {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:100:27: error: cannot find type 'UIImage' in scope
func pickImages() -> [UIImage] {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:15:28: error: cannot find type 'UIView' in scope
public class ConfettiView: UIView {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:18:69: error: cannot find type 'UIImage' in scope
private func generate(block: @escaping (CGContext?) -> Void) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:40:64: error: cannot find type 'UIImage' in scope
func generate(size: CGSize, string: NSAttributedString) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:48:53: error: cannot find type 'UIImage' in scope
func confetti(shape: Particle.ConfettiShape) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:57:33: error: cannot find type 'UIImage' in scope
private func rectangle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:67:30: error: cannot find type 'UIImage' in scope
private func circle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:77:32: error: cannot find type 'UIImage' in scope
private func triangle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:90:43: error: cannot find type 'UIImage' in scope
private func curvedQuadrilateral() -> UIImage? {
^~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[1/4] Compiling EasyConfetti ImageGenerator.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:18:69: error: cannot find type 'UIImage' in scope
private func generate(block: @escaping (CGContext?) -> Void) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:40:64: error: cannot find type 'UIImage' in scope
func generate(size: CGSize, string: NSAttributedString) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:48:53: error: cannot find type 'UIImage' in scope
func confetti(shape: Particle.ConfettiShape) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:57:33: error: cannot find type 'UIImage' in scope
private func rectangle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:67:30: error: cannot find type 'UIImage' in scope
private func circle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:77:32: error: cannot find type 'UIImage' in scope
private func triangle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:90:43: error: cannot find type 'UIImage' in scope
private func curvedQuadrilateral() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:19:20: error: cannot find type 'UIImage' in scope
var image: UIImage?
^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module EasyConfetti
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
case image([UIImage])
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
public var colors: [UIColor] = [
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:20:26: error: method does not override any method from its superclass
public override func viewDidMoveToSuperview() {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:100:27: error: cannot find type 'UIImage' in scope
func pickImages() -> [UIImage] {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:15:28: error: cannot find type 'UIView' in scope
public class ConfettiView: UIView {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:18:69: error: cannot find type 'UIImage' in scope
private func generate(block: @escaping (CGContext?) -> Void) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:40:64: error: cannot find type 'UIImage' in scope
func generate(size: CGSize, string: NSAttributedString) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:48:53: error: cannot find type 'UIImage' in scope
func confetti(shape: Particle.ConfettiShape) -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:57:33: error: cannot find type 'UIImage' in scope
private func rectangle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:67:30: error: cannot find type 'UIImage' in scope
private func circle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:77:32: error: cannot find type 'UIImage' in scope
private func triangle() -> UIImage? {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:90:43: error: cannot find type 'UIImage' in scope
private func curvedQuadrilateral() -> UIImage? {
^~~~~~~
[3/4] Compiling EasyConfetti Configuration.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
case image([UIImage])
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
public var colors: [UIColor] = [
^~~~~~~
[4/4] Compiling EasyConfetti EasyConfetti.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:20:26: error: method does not override any method from its superclass
public override func viewDidMoveToSuperview() {
~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:100:27: error: cannot find type 'UIImage' in scope
func pickImages() -> [UIImage] {
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:15:28: error: cannot find type 'UIView' in scope
public class ConfettiView: UIView {
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:21:9: error: 'super' members cannot be referenced in a root class
super.viewDidMoveToSuperview()
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:23:9: error: cannot find 'wantsLayer' in scope
wantsLayer = true
^~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:40:19: error: cannot find 'bounds' in scope
yOrigin = bounds.height
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:45:46: error: cannot find 'bounds' in scope
emitter.emitterPosition = CGPoint(x: bounds.width / 2, y: yOrigin)
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:47:45: error: cannot find 'bounds' in scope
emitter.emitterSize = CGSize(width: bounds.width, height: 1)
^~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:53:35: error: cannot find type 'UIColor' in scope
let combinations = Array<(UIColor, UIImage)>.createAllCombinations(
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:53:44: error: cannot find type 'UIImage' in scope
let combinations = Array<(UIColor, UIImage)>.createAllCombinations(
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
public var colors: [UIColor] = [
^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:89:35: error: cannot find 'layer' in scope
let rootLayer: CALayer? = layer
^~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
case image([UIImage])
^~~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm