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 StableCollectionViewLayout, reference main (b41508), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 08:49:43 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aimalygin/StableCollectionViewLayout.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aimalygin/StableCollectionViewLayout
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b415081 Create swift.yml
Cloned https://github.com/aimalygin/StableCollectionViewLayout.git
Revision (git rev-parse @):
b415081baf959c00302243fa258d7784647411a0
SUCCESS checkout https://github.com/aimalygin/StableCollectionViewLayout.git at main
========================================
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": "stablecollectionviewlayout",
      "name": "StableCollectionViewLayout",
      "url": "https://github.com/aimalygin/StableCollectionViewLayout.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/StableCollectionViewLayout",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/aimalygin/StableCollectionViewLayout.git
[1/364] Fetching stablecollectionviewlayout
Fetched https://github.com/aimalygin/StableCollectionViewLayout.git from cache (1.24s)
Creating working copy for https://github.com/aimalygin/StableCollectionViewLayout.git
Working copy of https://github.com/aimalygin/StableCollectionViewLayout.git resolved at main (b415081)
warning: '.resolve-product-dependencies': dependency 'stablecollectionviewlayout' 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/aimalygin/StableCollectionViewLayout.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "StableCollectionViewLayout",
  "name" : "StableCollectionViewLayout",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "StableCollectionViewLayout",
      "targets" : [
        "StableCollectionViewLayout"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StableCollectionViewLayoutTests",
      "module_type" : "SwiftTarget",
      "name" : "StableCollectionViewLayoutTests",
      "path" : "StableCollectionViewLayoutTests",
      "sources" : [
        "CollectionViewUpdateItemTests.swift",
        "DeleteAttributesFinderTests.swift",
        "InsertAttributesFinderTests.swift",
        "Mock/CollectionViewDataProviderMock.swift",
        "Mock/LayoutAttributesProviderMock.swift",
        "Mock/VisibleIndexesStateControllerMock.swift",
        "OffsetControllerTests.swift",
        "VisibleIndexesStateControllerTests.swift",
        "VisibleIndexesStateTests.swift"
      ],
      "target_dependencies" : [
        "StableCollectionViewLayout"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StableCollectionViewLayout",
      "module_type" : "SwiftTarget",
      "name" : "StableCollectionViewLayout",
      "path" : "StableCollectionViewLayout",
      "product_memberships" : [
        "StableCollectionViewLayout"
      ],
      "sources" : [
        "Sources/CollectionViewDataProvider.swift",
        "Sources/CollectionViewUpdateItem.swift",
        "Sources/IndexPath+Extension.swift",
        "Sources/LayoutAttributesProvider.swift",
        "Sources/OffsetController/OffsetController+Extension.swift",
        "Sources/OffsetController/OffsetController.swift",
        "Sources/OffsetController/OffsetControllerImpl.swift",
        "Sources/StableCollectionViewFlowLayout.swift",
        "Sources/StableCollectionViewLayout.swift",
        "Sources/VisibleIndexesStateController/VisibleIndexesState.swift",
        "Sources/VisibleIndexesStateController/VisibleIndexesStateController.swift",
        "Sources/VisibleIndexesStateController/VisibleIndexesStateControllerImpl.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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 -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--7754E27361AE5C74.txt
[3/14] Compiling StableCollectionViewLayout VisibleIndexesStateController.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
[4/15] Compiling StableCollectionViewLayout StableCollectionViewLayout.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
[5/15] Compiling StableCollectionViewLayout VisibleIndexesState.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] Emitting module StableCollectionViewLayout
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
[7/15] Compiling StableCollectionViewLayout OffsetController+Extension.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
[8/15] Compiling StableCollectionViewLayout IndexPath+Extension.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
[9/15] Compiling StableCollectionViewLayout LayoutAttributesProvider.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
[10/15] Compiling StableCollectionViewLayout StableCollectionViewFlowLayout.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
[11/15] Compiling StableCollectionViewLayout OffsetController.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
[12/15] Compiling StableCollectionViewLayout OffsetControllerImpl.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
[13/15] Compiling StableCollectionViewLayout CollectionViewDataProvider.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
[14/15] Compiling StableCollectionViewLayout CollectionViewUpdateItem.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
[15/15] Compiling StableCollectionViewLayout VisibleIndexesStateControllerImpl.swift
/Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Sources/CollectionViewUpdateItem.swift:9:8: error: no such module 'UIKit'
 7 |
 8 | import Foundation
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public struct CollectionViewUpdateItem: Equatable {
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/StableCollectionViewLayout/Info.plist
BUILD FAILURE 6.0 macosSpm