This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.22.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onmyway133/EasyConfetti.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/0/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 into /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
Revision (git rev-parse @):
29e5f9646e286df9eed3efd1a52d1214873a0670
SUCCESS checkout https://github.com/onmyway133/EasyConfetti.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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 EasyConfetti
/Users/builder/builds/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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 ImageGenerator.swift
/Users/builder/builds/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:19:20: error: cannot find type 'UIImage' in scope
        var image: UIImage?
                   ^~~~~~~
[3/6] Compiling EasyConfetti Extensions.swift
[4/6] Compiling EasyConfetti macOS+extensions.swift
[5/6] Compiling EasyConfetti Configuration.swift
/Users/builder/builds/o86TiJKT/0/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/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
    public var colors: [UIColor] = [
                        ^~~~~~~
[6/6] Compiling EasyConfetti EasyConfetti.swift
/Users/builder/builds/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:23:9: error: cannot find 'wantsLayer' in scope
        wantsLayer = true
        ^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:40:19: error: cannot find 'bounds' in scope
        yOrigin = bounds.height
                  ^~~~~~
/Users/builder/builds/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/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/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
    case image([UIImage])
                ^~~~~~~
BUILD FAILURE 5.8 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.