The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EasyConfetti with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onmyway133/EasyConfetti.git
Reference: 2.4.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/onmyway133/EasyConfetti
 * tag               2.4.0      -> FETCH_HEAD
HEAD is now at fffe1b1 Rename to Configuration
Cloned https://github.com/onmyway133/EasyConfetti.git into spi-builder-workspace
fffe1b1969b91c6cde8f93744957cc6c23087275
SUCCESS checkout https://github.com/onmyway133/EasyConfetti.git at 2.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/6] Emitting module EasyConfetti
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
    case image([UIImage])
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
    public var colors: [UIColor] = [
                        ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:100:27: error: cannot find type 'UIImage' in scope
    func pickImages() -> [UIImage] {
                          ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:15:28: error: cannot find type 'UIView' in scope
public class ConfettiView: UIView {
                           ^~~~~~
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:57:33: error: cannot find type 'UIImage' in scope
    private func rectangle() -> UIImage? {
                                ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:67:30: error: cannot find type 'UIImage' in scope
    private func circle() -> UIImage? {
                             ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:77:32: error: cannot find type 'UIImage' in scope
    private func triangle() -> UIImage? {
                               ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:90:43: error: cannot find type 'UIImage' in scope
    private func curvedQuadrilateral() -> UIImage? {
                                          ^~~~~~~
[2/6] Compiling EasyConfetti Configuration.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
    case image([UIImage])
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
    public var colors: [UIColor] = [
                        ^~~~~~~
[3/6] Compiling EasyConfetti Extensions.swift
[4/6] Compiling EasyConfetti macOS+extensions.swift
[5/6] Compiling EasyConfetti EasyConfetti.swift
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:100:27: error: cannot find type 'UIImage' in scope
    func pickImages() -> [UIImage] {
                          ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:15:28: error: cannot find type 'UIView' in scope
public class ConfettiView: UIView {
                           ^~~~~~
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:23:9: error: cannot find 'wantsLayer' in scope
        wantsLayer = true
        ^~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:40:19: error: cannot find 'bounds' in scope
        yOrigin = bounds.height
                  ^~~~~~
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
    public var colors: [UIColor] = [
                        ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:89:35: error: cannot find 'layer' in scope
        let rootLayer: CALayer? = layer
                                  ^~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
    case image([UIImage])
                ^~~~~~~
[6/6] Compiling EasyConfetti ImageGenerator.swift
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:57:33: error: cannot find type 'UIImage' in scope
    private func rectangle() -> UIImage? {
                                ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:67:30: error: cannot find type 'UIImage' in scope
    private func circle() -> UIImage? {
                             ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:77:32: error: cannot find type 'UIImage' in scope
    private func triangle() -> UIImage? {
                               ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:90:43: error: cannot find type 'UIImage' in scope
    private func curvedQuadrilateral() -> UIImage? {
                                          ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:19:20: error: cannot find type 'UIImage' in scope
        var image: UIImage?
                   ^~~~~~~
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module EasyConfetti
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
    case image([UIImage])
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
    public var colors: [UIColor] = [
                        ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:100:27: error: cannot find type 'UIImage' in scope
    func pickImages() -> [UIImage] {
                          ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:15:28: error: cannot find type 'UIView' in scope
public class ConfettiView: UIView {
                           ^~~~~~
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:57:33: error: cannot find type 'UIImage' in scope
    private func rectangle() -> UIImage? {
                                ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:67:30: error: cannot find type 'UIImage' in scope
    private func circle() -> UIImage? {
                             ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:77:32: error: cannot find type 'UIImage' in scope
    private func triangle() -> UIImage? {
                               ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:90:43: error: cannot find type 'UIImage' in scope
    private func curvedQuadrilateral() -> UIImage? {
                                          ^~~~~~~
[2/4] Compiling EasyConfetti Configuration.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
    case image([UIImage])
                ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
    public var colors: [UIColor] = [
                        ^~~~~~~
[3/4] Compiling EasyConfetti ImageGenerator.swift
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:57:33: error: cannot find type 'UIImage' in scope
    private func rectangle() -> UIImage? {
                                ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:67:30: error: cannot find type 'UIImage' in scope
    private func circle() -> UIImage? {
                             ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:77:32: error: cannot find type 'UIImage' in scope
    private func triangle() -> UIImage? {
                               ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:90:43: error: cannot find type 'UIImage' in scope
    private func curvedQuadrilateral() -> UIImage? {
                                          ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:19:20: error: cannot find type 'UIImage' in scope
        var image: UIImage?
                   ^~~~~~~
[4/4] Compiling EasyConfetti EasyConfetti.swift
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:100:27: error: cannot find type 'UIImage' in scope
    func pickImages() -> [UIImage] {
                          ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:15:28: error: cannot find type 'UIView' in scope
public class ConfettiView: UIView {
                           ^~~~~~
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:23:9: error: cannot find 'wantsLayer' in scope
        wantsLayer = true
        ^~~~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:40:19: error: cannot find 'bounds' in scope
        yOrigin = bounds.height
                  ^~~~~~
/Users/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
    public var colors: [UIColor] = [
                        ^~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:89:35: error: cannot find 'layer' in scope
        let rootLayer: CALayer? = layer
                                  ^~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
    case image([UIImage])
                ^~~~~~~
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm