This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 CenteredCollectionView, reference 2.2.2 (f2bf37), with Swift 6.0 for macOS (SPM) on 26 Oct 2024 13:01:56 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/BenEmdon/CenteredCollectionView.git
Reference: 2.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BenEmdon/CenteredCollectionView
 * tag               2.2.2      -> FETCH_HEAD
HEAD is now at f2bf371 Merge pull request #60 from BenEmdon/bump_version
Cloned https://github.com/BenEmdon/CenteredCollectionView.git
Revision (git rev-parse @):
f2bf371dae314b46f1bc03c222861c9fc40fff32
SUCCESS checkout https://github.com/BenEmdon/CenteredCollectionView.git at 2.2.2
========================================
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": "centeredcollectionview",
      "name": "CenteredCollectionView",
      "url": "https://github.com/BenEmdon/CenteredCollectionView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CenteredCollectionView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/BenEmdon/CenteredCollectionView.git
[1/1338] Fetching centeredcollectionview
Fetched https://github.com/BenEmdon/CenteredCollectionView.git from cache (1.74s)
Creating working copy for https://github.com/BenEmdon/CenteredCollectionView.git
Working copy of https://github.com/BenEmdon/CenteredCollectionView.git resolved at 2.2.2 (f2bf371)
warning: '.resolve-product-dependencies': dependency 'centeredcollectionview' 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/BenEmdon/CenteredCollectionView.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/4] Emitting module CenteredCollectionView
/Users/admin/builder/spi-builder-workspace/CenteredCollectionView/Classes/CenteredCollectionViewFlowLayout.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public extension UICollectionView {
[4/4] Compiling CenteredCollectionView CenteredCollectionViewFlowLayout.swift
/Users/admin/builder/spi-builder-workspace/CenteredCollectionView/Classes/CenteredCollectionViewFlowLayout.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | public extension UICollectionView {
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.