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 Partial, reference master (653886), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 19:45:04 UTC.

Swift 6 data race errors: 1

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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JosephDuffy/Partial.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JosephDuffy/Partial
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6538864 Merge pull request #260 from JosephDuffy/dependabot/github_actions/sersoft-gmbh/swift-coverage-action-3.0.0
Cloned https://github.com/JosephDuffy/Partial.git
Revision (git rev-parse @):
65388642c25a206afe92741c5cda3b65c1c17ae5
SUCCESS checkout https://github.com/JosephDuffy/Partial.git at master
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Quick.git
[1/455] Fetching cwlcatchexception
[70/1712] Fetching cwlcatchexception, cwlpreconditiontesting
[221/3750] Fetching cwlcatchexception, cwlpreconditiontesting, swift-docc-plugin
[1938/18490] Fetching cwlcatchexception, cwlpreconditiontesting, swift-docc-plugin, quick
[4931/37765] Fetching cwlcatchexception, cwlpreconditiontesting, swift-docc-plugin, quick, nimble
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.58s)
[25076/37310] Fetching cwlpreconditiontesting, swift-docc-plugin, quick, nimble
Fetched https://github.com/apple/swift-docc-plugin.git from cache (7.16s)
Fetched https://github.com/Quick/Nimble.git from cache (7.16s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (7.16s)
Fetched https://github.com/Quick/Quick.git from cache (7.16s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.0.0 (0.55s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.54s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.54s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.54s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.59s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.0.0
========================================
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": "partial",
      "name": "Partial",
      "url": "https://github.com/JosephDuffy/Partial.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Partial",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/JosephDuffy/Partial.git
[1/4081] Fetching partial
Fetched https://github.com/JosephDuffy/Partial.git from cache (1.46s)
Creating working copy for https://github.com/JosephDuffy/Partial.git
Working copy of https://github.com/JosephDuffy/Partial.git resolved at master (6538864)
warning: '.resolve-product-dependencies': dependency 'partial' 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/JosephDuffy/Partial.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/12] Compiling Partial PartiallyBuilt.swift
[6/12] Compiling Partial PartialConvertible.swift
[7/12] Compiling Partial PartialProtocol.swift
[8/12] Compiling Partial Subscription.swift
[9/12] Compiling Partial Weak.swift
[10/12] Compiling Partial Partial.swift
/Users/admin/builder/spi-builder-workspace/Sources/Partial/Partial.swift:10:14: warning: associated value 'keyPathNotSet' of 'Sendable'-conforming generic enum 'Error' has non-sendable type 'KeyPath<Wrapped, Value>'; this is an error in the Swift 6 language mode
 8 |     public enum Error<Value>: Swift.Error {
 9 |         /// The key path has not been set.
10 |         case keyPathNotSet(KeyPath<Wrapped, Value>)
   |              `- warning: associated value 'keyPathNotSet' of 'Sendable'-conforming generic enum 'Error' has non-sendable type 'KeyPath<Wrapped, Value>'; this is an error in the Swift 6 language mode
11 |     }
12 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
[11/12] Emitting module Partial
/Users/admin/builder/spi-builder-workspace/Sources/Partial/Partial.swift:10:14: warning: associated value 'keyPathNotSet' of 'Sendable'-conforming generic enum 'Error' has non-sendable type 'KeyPath<Wrapped, Value>'; this is an error in the Swift 6 language mode
 8 |     public enum Error<Value>: Swift.Error {
 9 |         /// The key path has not been set.
10 |         case keyPathNotSet(KeyPath<Wrapped, Value>)
   |              `- warning: associated value 'keyPathNotSet' of 'Sendable'-conforming generic enum 'Error' has non-sendable type 'KeyPath<Wrapped, Value>'; this is an error in the Swift 6 language mode
11 |     }
12 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
[12/12] Compiling Partial PartialBuilder.swift
Build complete! (18.15s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.2.1",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "exact" : [
          "1.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "Partial",
  "name" : "Partial",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "Partial",
      "targets" : [
        "Partial"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PartialTests",
      "module_type" : "SwiftTarget",
      "name" : "PartialTests",
      "path" : "Tests/PartialTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "Matchers/beNilWrappedInOptional.swift",
        "Models/StringWrapper.swift",
        "Models/StringWrapperWrapper.swift",
        "Tests/Partial+PartialConvertibleTests.swift",
        "Tests/PartialBuilder+PartialConvertibleTests.swift",
        "Tests/PartialBuilderSubscriptionTests.swift",
        "Tests/PartialBuilderTests.swift",
        "Tests/PartialTests.swift",
        "Tests/PartiallyBuiltTests.swift"
      ],
      "target_dependencies" : [
        "Partial"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Partial",
      "module_type" : "SwiftTarget",
      "name" : "Partial",
      "path" : "Sources/Partial",
      "product_memberships" : [
        "Partial"
      ],
      "sources" : [
        "Partial.swift",
        "PartialBuilder.swift",
        "PartialConvertible.swift",
        "PartialProtocol.swift",
        "PartiallyBuilt.swift",
        "Subscription.swift",
        "Weak.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.