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 Flash, reference main (a46ecc), with Swift 6.0 for macOS (SPM) on 21 Oct 2024 01:47:03 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.3
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 a46ecc5 Update workflow
Cloned https://github.com/conmulligan/Flash.swift.git
Revision (git rev-parse @):
a46ecc5a843898e0b6a8e6083cc79ebaef185db4
SUCCESS checkout https://github.com/conmulligan/Flash.swift.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": "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/480] Fetching flash.swift
Fetched https://github.com/conmulligan/Flash.swift.git from cache (1.01s)
Creating working copy for https://github.com/conmulligan/Flash.swift.git
Working copy of https://github.com/conmulligan/Flash.swift.git resolved at main (a46ecc5)
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4A847ED0836F2485.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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.
[4/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.
[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 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.
BUILD FAILURE 6.0 macosSpm