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 UIKitComponents, reference 1.0.4 (2e0984), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 16:04:17 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/jrsaruo/UIKitComponents.git
Reference: 1.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jrsaruo/UIKitComponents
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at 2e09842 Merge pull request #17 from jrsaruo/release-1.0.4
Cloned https://github.com/jrsaruo/UIKitComponents.git
Revision (git rev-parse @):
2e098429097b2247855a958a7a7130b03a1a1dcd
SUCCESS checkout https://github.com/jrsaruo/UIKitComponents.git at 1.0.4
========================================
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": "uikitcomponents",
      "name": "UIKitComponents",
      "url": "https://github.com/jrsaruo/UIKitComponents.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UIKitComponents",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jrsaruo/UIKitComponents.git
[1/276] Fetching uikitcomponents
Fetched https://github.com/jrsaruo/UIKitComponents.git from cache (0.67s)
Creating working copy for https://github.com/jrsaruo/UIKitComponents.git
Working copy of https://github.com/jrsaruo/UIKitComponents.git resolved at 1.0.4 (2e09842)
warning: '.resolve-product-dependencies': dependency 'uikitcomponents' 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/jrsaruo/UIKitComponents.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 UIKitComponents
/Users/admin/builder/spi-builder-workspace/Sources/UIKitComponents/TextViewWithPlaceholder.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import Combine
 10 |
[4/4] Compiling UIKitComponents TextViewWithPlaceholder.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIKitComponents/TextViewWithPlaceholder.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 | import Combine
 10 |
BUILD FAILURE 6.0 macosSpm