The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ToastSwiftUI, reference main (21063b), with Swift 6.2 for macOS (SPM) on 1 Jan 2026 07:43:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/telhawasim/toast-swiftui.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/telhawasim/toast-swiftui
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 21063b5 Update README.md
Cloned https://github.com/telhawasim/toast-swiftui.git
Revision (git rev-parse @):
21063b5f7588a532fbfc79250f2c9ef9adc33661
SUCCESS checkout https://github.com/telhawasim/toast-swiftui.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "toast-swiftui",
      "name": "ToastSwiftUI",
      "url": "https://github.com/telhawasim/toast-swiftui.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/toast-swiftui",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/telhawasim/toast-swiftui.git
[1/36] Fetching toast-swiftui
Fetched https://github.com/telhawasim/toast-swiftui.git from cache (0.67s)
Creating working copy for https://github.com/telhawasim/toast-swiftui.git
Working copy of https://github.com/telhawasim/toast-swiftui.git resolved at main (21063b5)
warning: '.resolve-product-dependencies': dependency 'toast-swiftui' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/telhawasim/toast-swiftui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
[3/11] Compiling ToastSwiftUI ToastGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastSwiftUI/PassThroughWindow.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | internal class PassThroughWindow: UIWindow {
[4/11] Compiling ToastSwiftUI ToastView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastSwiftUI/PassThroughWindow.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | internal class PassThroughWindow: UIWindow {
[5/11] Compiling ToastSwiftUI Toast.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastSwiftUI/PassThroughWindow.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | internal class PassThroughWindow: UIWindow {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Emitting module ToastSwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/ToastSwiftUI/PassThroughWindow.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | internal class PassThroughWindow: UIWindow {
[7/11] Compiling ToastSwiftUI RootView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastSwiftUI/PassThroughWindow.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | internal class PassThroughWindow: UIWindow {
[8/11] Compiling ToastSwiftUI ToastTime.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastSwiftUI/PassThroughWindow.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | internal class PassThroughWindow: UIWindow {
[9/11] Compiling ToastSwiftUI PassThroughWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastSwiftUI/PassThroughWindow.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | internal class PassThroughWindow: UIWindow {
[10/11] Compiling ToastSwiftUI ToastPosition.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastSwiftUI/PassThroughWindow.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | internal class PassThroughWindow: UIWindow {
[11/11] Compiling ToastSwiftUI ToastItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastSwiftUI/PassThroughWindow.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | internal class PassThroughWindow: UIWindow {
BUILD FAILURE 6.2 macosSpm