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 DataCache, reference 1.6.1 (715d6b), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 01:32:00 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 -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huynguyencong/DataCache.git
Reference: 1.6.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/huynguyencong/DataCache
 * tag               1.6.1      -> FETCH_HEAD
HEAD is now at 715d6b9 Update example code for new change
Cloned https://github.com/huynguyencong/DataCache.git
Revision (git rev-parse @):
715d6b96a45d3889efef54a2a0afef9d4188dde0
SUCCESS checkout https://github.com/huynguyencong/DataCache.git at 1.6.1
========================================
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": "datacache",
      "name": "DataCache",
      "url": "https://github.com/huynguyencong/DataCache.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DataCache",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/huynguyencong/DataCache.git
[9/445] Fetching datacache
Fetched https://github.com/huynguyencong/DataCache.git from cache (0.94s)
Creating working copy for https://github.com/huynguyencong/DataCache.git
Working copy of https://github.com/huynguyencong/DataCache.git resolved at 1.6.1 (715d6b9)
warning: '.resolve-product-dependencies': dependency 'datacache' 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/huynguyencong/DataCache.git
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 -Xswiftc -strict-concurrency=complete
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 DataCache
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public enum ImageFormat {
[4/6] Compiling DataCache DataCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public enum ImageFormat {
[5/6] Compiling DataCache Dictionary+Cache.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public enum ImageFormat {
[6/6] Compiling DataCache String+MD5.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public enum ImageFormat {
BUILD FAILURE 6.0 macosSpm