Build Information
Failed to build EasyConfetti with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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/UKfvDsi8u/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
Revision (git rev-parse @):
fffe1b1969b91c6cde8f93744957cc6c23087275
SUCCESS checkout https://github.com/onmyway133/EasyConfetti.git at 2.4.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/onmyway133/EasyConfetti.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/8] Compiling EasyConfetti Extensions.swift
[4/8] Compiling EasyConfetti Configuration.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/3/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)
[5/8] Compiling EasyConfetti macOS+extensions.swift
[6/8] Emitting module EasyConfetti
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:90:43: error: cannot find type 'UIImage' in scope
private func curvedQuadrilateral() -> UIImage? {
^~~~~~~
[7/8] Compiling EasyConfetti EasyConfetti.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:23:9: error: cannot find 'wantsLayer' in scope
wantsLayer = true
^~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
case image([UIImage])
^~~~~~~
[8/8] Compiling EasyConfetti ImageGenerator.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module EasyConfetti
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:90:43: error: cannot find type 'UIImage' in scope
private func curvedQuadrilateral() -> UIImage? {
^~~~~~~
[3/5] Compiling EasyConfetti EasyConfetti.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/EasyConfetti.swift:23:9: error: cannot find 'wantsLayer' in scope
wantsLayer = true
^~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:21:17: error: cannot find type 'UIImage' in scope
case image([UIImage])
^~~~~~~
[4/5] Compiling EasyConfetti ImageGenerator.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/ImageGenerator.swift:19:20: error: cannot find type 'UIImage' in scope
var image: UIImage?
^~~~~~~
[5/5] Compiling EasyConfetti Configuration.swift
/Users/builder/builds/UKfvDsi8u/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Common/Configuration.swift:42:25: error: cannot find type 'UIColor' in scope
public var colors: [UIColor] = [
^~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm