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 master (f2bf37), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 15:19:32 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BenEmdon/CenteredCollectionView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BenEmdon/CenteredCollectionView
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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.48s)
Creating working copy for https://github.com/BenEmdon/CenteredCollectionView.git
Working copy of https://github.com/BenEmdon/CenteredCollectionView.git resolved at master (f2bf371)
warning: '.resolve-product-dependencies': dependency 'centeredcollectionview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/BenEmdon/CenteredCollectionView.git
https://github.com/BenEmdon/CenteredCollectionView.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CenteredCollectionView",
  "name" : "CenteredCollectionView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "CenteredCollectionView",
      "targets" : [
        "CenteredCollectionView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CenteredCollectionView",
      "module_type" : "SwiftTarget",
      "name" : "CenteredCollectionView",
      "path" : "CenteredCollectionView/Classes",
      "product_memberships" : [
        "CenteredCollectionView"
      ],
      "sources" : [
        "CenteredCollectionViewFlowLayout.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.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 {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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 {
[3/3] 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.1 macosSpm