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 Flash, reference main (1d2d22), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 00:04:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/conmulligan/Flash.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/conmulligan/Flash.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1d2d22a Merge pull request #30 from conmulligan/swift-6
Cloned https://github.com/conmulligan/Flash.swift.git
Revision (git rev-parse @):
1d2d22a2a1f291860b3251ad6032a9ae969d17db
SUCCESS checkout https://github.com/conmulligan/Flash.swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/conmulligan/Flash.swift.git
https://github.com/conmulligan/Flash.swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Flash",
  "name" : "Flash",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Flash",
      "targets" : [
        "Flash"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "FlashTests",
      "module_type" : "SwiftTarget",
      "name" : "FlashTests",
      "path" : "Tests/FlashTests",
      "sources" : [
        "FlashTests.swift"
      ],
      "target_dependencies" : [
        "Flash"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Flash",
      "module_type" : "SwiftTarget",
      "name" : "Flash",
      "path" : "Sources/Flash",
      "product_memberships" : [
        "Flash"
      ],
      "sources" : [
        "BackgroundView.swift",
        "FlashAnimator.swift",
        "FlashView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module Flash
/Users/admin/builder/spi-builder-workspace/Sources/Flash/BackgroundView.swift:25:8: error: no such module 'UIKit'
23 | //  SOFTWARE.
24 |
25 | import UIKit
   |        `- error: no such module 'UIKit'
26 |
27 | /// The background view.
[4/6] Compiling Flash FlashView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flash/BackgroundView.swift:25:8: error: no such module 'UIKit'
23 | //  SOFTWARE.
24 |
25 | import UIKit
   |        `- error: no such module 'UIKit'
26 |
27 | /// The background view.
[5/6] Compiling Flash FlashAnimator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flash/BackgroundView.swift:25:8: error: no such module 'UIKit'
23 | //  SOFTWARE.
24 |
25 | import UIKit
   |        `- error: no such module 'UIKit'
26 |
27 | /// The background view.
[6/6] Compiling Flash BackgroundView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flash/BackgroundView.swift:25:8: error: no such module 'UIKit'
23 | //  SOFTWARE.
24 |
25 | import UIKit
   |        `- error: no such module 'UIKit'
26 |
27 | /// The background view.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module Flash
/Users/admin/builder/spi-builder-workspace/Sources/Flash/BackgroundView.swift:25:8: error: no such module 'UIKit'
23 | //  SOFTWARE.
24 |
25 | import UIKit
   |        `- error: no such module 'UIKit'
26 |
27 | /// The background view.
[3/5] Compiling Flash FlashAnimator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flash/BackgroundView.swift:25:8: error: no such module 'UIKit'
23 | //  SOFTWARE.
24 |
25 | import UIKit
   |        `- error: no such module 'UIKit'
26 |
27 | /// The background view.
[4/5] Compiling Flash BackgroundView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flash/BackgroundView.swift:25:8: error: no such module 'UIKit'
23 | //  SOFTWARE.
24 |
25 | import UIKit
   |        `- error: no such module 'UIKit'
26 |
27 | /// The background view.
[5/5] Compiling Flash FlashView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flash/BackgroundView.swift:25:8: error: no such module 'UIKit'
23 | //  SOFTWARE.
24 |
25 | import UIKit
   |        `- error: no such module 'UIKit'
26 |
27 | /// The background view.
BUILD FAILURE 6.1 macosSpm