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 AlertController with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mezhevikin/AlertController.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/mezhevikin/AlertController
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at aa6745b Rename method setCheked -> setChecked
Cloned https://github.com/mezhevikin/AlertController.git
Revision (git rev-parse @):
aa6745b8bfa6de2ae7783e39148baf20df9c76b1
SUCCESS checkout https://github.com/mezhevikin/AlertController.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "alertcontroller",
      "name": "AlertController",
      "url": "https://github.com/mezhevikin/AlertController.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AlertController",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mezhevikin/AlertController.git
[1/58] Fetching alertcontroller
Fetched https://github.com/mezhevikin/AlertController.git (0.33s)
Creating working copy for https://github.com/mezhevikin/AlertController.git
Working copy of https://github.com/mezhevikin/AlertController.git resolved at master
warning: '.resolve-product-dependencies': dependency 'alertcontroller' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module AlertController
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AlertController/AlertController.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[2/2] Compiling AlertController AlertController.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AlertController/AlertController.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module AlertController
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AlertController/AlertController.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
[2/2] Compiling AlertController AlertController.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AlertController/AlertController.swift:2:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 macosSpm