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 LocaleManager, reference 1.4.0 (37e44b), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 08:21:51 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/amosavian/LocaleManager.git
Reference: 1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amosavian/LocaleManager
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at 37e44b1 Fixed build error
Cloned https://github.com/amosavian/LocaleManager.git
Revision (git rev-parse @):
37e44b18774b352b6de1ae18f2d5992f0a8c6d8e
SUCCESS checkout https://github.com/amosavian/LocaleManager.git at 1.4.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": "localemanager",
      "name": "LocaleManager",
      "url": "https://github.com/amosavian/LocaleManager.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LocaleManager",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/amosavian/LocaleManager.git
[1/133] Fetching localemanager
Fetched https://github.com/amosavian/LocaleManager.git from cache (0.67s)
Creating working copy for https://github.com/amosavian/LocaleManager.git
Working copy of https://github.com/amosavian/LocaleManager.git resolved at 1.4.0 (37e44b1)
warning: '.resolve-product-dependencies': dependency 'localemanager' 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/amosavian/LocaleManager.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/4] Emitting module LocaleManager
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import ObjectiveC
 11 |
[4/4] Compiling LocaleManager LocaleManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocaleManager/LocaleManager.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import ObjectiveC
 11 |
BUILD FAILURE 6.0 macosSpm