The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Toast, reference 2.1.3 (b8f0de), with Swift 5.9 for macOS (SPM) on 31 Dec 2024 22:28:49 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BastiaanJansen/toast-swift.git
Reference: 2.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BastiaanJansen/toast-swift
 * tag               2.1.3      -> FETCH_HEAD
HEAD is now at b8f0de8 changed version to 2.1.3
Cloned https://github.com/BastiaanJansen/toast-swift.git
Revision (git rev-parse @):
b8f0de845abca47eee747b6e671f1141ec4dcf3e
SUCCESS checkout https://github.com/BastiaanJansen/toast-swift.git at 2.1.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/BastiaanJansen/toast-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/14] Compiling Toast IconAppleToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[2/14] Compiling Toast ToastViewConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[3/14] Compiling Toast AppleToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/14] Compiling Toast TextAppleToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/14] Compiling Toast ToastHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/14] Compiling Toast ToastConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/14] Compiling Toast ToastDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/15] Compiling Toast ToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/15] Emitting module Toast
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/15] Compiling Toast ToastQueueDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[11/15] Compiling Toast Toast.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[12/15] Compiling Toast MulticastDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[13/15] Compiling Toast ToastQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[14/15] Compiling Toast AnimationType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/15] Compiling Toast Direction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toast/AnimationType.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 macosSpm