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 0.2.0 (7c03a7), with Swift 6.0 for macOS (SPM) on 3 Dec 2024 05:47:11 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.58.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/conmulligan/Flash.swift.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/conmulligan/Flash.swift
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 7c03a77 Add SPI badges
Cloned https://github.com/conmulligan/Flash.swift.git
Revision (git rev-parse @):
7c03a77fc8c62ca1ff80dbeb35d82b4ac64af8f8
SUCCESS checkout https://github.com/conmulligan/Flash.swift.git at 0.2.0
========================================
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": "flash.swift",
      "name": "Flash",
      "url": "https://github.com/conmulligan/Flash.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Flash.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/conmulligan/Flash.swift.git
[1/509] Fetching flash.swift
Fetched https://github.com/conmulligan/Flash.swift.git from cache (0.94s)
Creating working copy for https://github.com/conmulligan/Flash.swift.git
Working copy of https://github.com/conmulligan/Flash.swift.git resolved at 0.2.0 (7c03a77)
warning: '.resolve-product-dependencies': dependency 'flash.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
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"
        ]
      }
    }
  ],
  "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.1.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--7754E27361AE5C74.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 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/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.
[6/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.
BUILD FAILURE 6.0 macosSpm