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

Successful build of PackageCollections, reference main (ad8df8), with Swift 6.1 for macOS (SPM) on 2 May 2025 17:20:06 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftPackageIndex/PackageCollections.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftPackageIndex/PackageCollections
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ad8df8c Update README.md
Cloned https://github.com/SwiftPackageIndex/PackageCollections.git
Revision (git rev-parse @):
ad8df8c5362e47a745557c03c7c6f7ac25117386
SUCCESS checkout https://github.com/SwiftPackageIndex/PackageCollections.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": "packagecollections",
      "name": "PackageCollections",
      "url": "https://github.com/SwiftPackageIndex/PackageCollections.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PackageCollections",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SwiftPackageIndex/PackageCollections.git
[1/90] Fetching packagecollections
Fetched https://github.com/SwiftPackageIndex/PackageCollections.git from cache (0.65s)
Creating working copy for https://github.com/SwiftPackageIndex/PackageCollections.git
Working copy of https://github.com/SwiftPackageIndex/PackageCollections.git resolved at main (ad8df8c)
warning: '.resolve-product-dependencies': dependency 'packagecollections' 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/SwiftPackageIndex/PackageCollections.git
https://github.com/SwiftPackageIndex/PackageCollections.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PackageCollections",
  "name" : "PackageCollections",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PackageCollections",
      "targets" : [
        "PackageCollectionsModel",
        "PackageModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PackageModel",
      "module_type" : "SwiftTarget",
      "name" : "PackageModel",
      "path" : "Sources/PackageModel",
      "product_memberships" : [
        "PackageCollections"
      ],
      "sources" : [
        "PackageIdentity.swift",
        "StringError.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PackageCollectionsTests",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionsTests",
      "path" : "Tests/PackageCollectionsTests",
      "sources" : [
        "PackageCollectionsTests.swift"
      ],
      "target_dependencies" : [
        "PackageCollectionsModel",
        "PackageModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PackageCollectionsModel",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionsModel",
      "path" : "Sources/PackageCollectionsModel",
      "product_memberships" : [
        "PackageCollections"
      ],
      "sources" : [
        "PackageCollectionModel+v1.swift",
        "PackageCollectionModel.swift",
        "StringMangling.swift",
        "Target+ext.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/11] Compiling PackageModel StringError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/11] Compiling PackageModel PackageIdentity.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/11] Emitting module PackageModel
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/11] Compiling PackageCollectionsModel StringMangling.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/11] Compiling PackageCollectionsModel PackageCollectionModel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/11] Compiling PackageCollectionsModel Target+ext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/11] Emitting module PackageCollectionsModel
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/11] Compiling PackageCollectionsModel PackageCollectionModel+v1.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Build complete! (5.00s)
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/Sources/PackageCollectionsModel/Formats/v1.md
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PackageCollections",
  "name" : "PackageCollections",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PackageCollections",
      "targets" : [
        "PackageCollectionsModel",
        "PackageModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PackageModel",
      "module_type" : "SwiftTarget",
      "name" : "PackageModel",
      "path" : "Sources/PackageModel",
      "product_memberships" : [
        "PackageCollections"
      ],
      "sources" : [
        "PackageIdentity.swift",
        "StringError.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PackageCollectionsTests",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionsTests",
      "path" : "Tests/PackageCollectionsTests",
      "sources" : [
        "PackageCollectionsTests.swift"
      ],
      "target_dependencies" : [
        "PackageCollectionsModel",
        "PackageModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PackageCollectionsModel",
      "module_type" : "SwiftTarget",
      "name" : "PackageCollectionsModel",
      "path" : "Sources/PackageCollectionsModel",
      "product_memberships" : [
        "PackageCollections"
      ],
      "sources" : [
        "PackageCollectionModel+v1.swift",
        "PackageCollectionModel.swift",
        "StringMangling.swift",
        "Target+ext.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.