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 TestPackageManager, reference yuth (dde562), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 03:38:23 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/Pheayuth222/TestingPackageManager.git
Reference: yuth
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Pheayuth222/TestingPackageManager
 * branch            yuth       -> FETCH_HEAD
 * [new branch]      yuth       -> origin/yuth
HEAD is now at dde5621 Add function
Cloned https://github.com/Pheayuth222/TestingPackageManager.git
Revision (git rev-parse @):
dde5621ce62eff1e5c8f18b81d9ff9340fe1cdfe
SUCCESS checkout https://github.com/Pheayuth222/TestingPackageManager.git at yuth
Fetching https://github.com/hackiftekhar/IQKeyboardManager.git
[1/18539] Fetching iqkeyboardmanager
Fetched https://github.com/hackiftekhar/IQKeyboardManager.git from cache (2.47s)
Computing version for https://github.com/hackiftekhar/IQKeyboardManager.git
Computed https://github.com/hackiftekhar/IQKeyboardManager.git at 6.5.11 (0.65s)
Creating working copy for https://github.com/hackiftekhar/IQKeyboardManager.git
Working copy of https://github.com/hackiftekhar/IQKeyboardManager.git resolved at 6.5.11
========================================
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": "testingpackagemanager",
      "name": "TestPackageManager",
      "url": "https://github.com/Pheayuth222/TestingPackageManager.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TestingPackageManager",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Pheayuth222/TestingPackageManager.git
[1/72] Fetching testingpackagemanager
Fetched https://github.com/Pheayuth222/TestingPackageManager.git from cache (0.67s)
Creating working copy for https://github.com/Pheayuth222/TestingPackageManager.git
Working copy of https://github.com/Pheayuth222/TestingPackageManager.git resolved at yuth (dde5621)
warning: '.resolve-product-dependencies': dependency 'testingpackagemanager' 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/Pheayuth222/TestingPackageManager.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 TestPackageManager
/Users/admin/builder/spi-builder-workspace/Sources/TestPackageManager/TestPackageManager.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 | public struct TestPackageManager {
 3 |     public private(set) var text = "Hello, World!"
[4/4] Compiling TestPackageManager TestPackageManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestPackageManager/TestPackageManager.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 | public struct TestPackageManager {
 3 |     public private(set) var text = "Hello, World!"
warning: 'spi-builder-workspace': dependency 'iqkeyboardmanager' is not used by any target
BUILD FAILURE 6.0 macosSpm