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.1 for Linux on 26 Apr 2025 04:49:22 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JosephDuffy/Partial.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/JosephDuffy/Partial.git
https://github.com/JosephDuffy/Partial.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/Quick/Nimble.git
[1/2049] Fetching swift-docc-plugin
[63/16804] Fetching swift-docc-plugin, quick
[2834/36371] Fetching swift-docc-plugin, quick, nimble
Fetched https://github.com/apple/swift-docc-plugin.git from cache (2.56s)
Fetched https://github.com/Quick/Quick.git from cache (2.57s)
Fetched https://github.com/Quick/Nimble.git from cache (2.61s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.0.0 (3.71s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (1.03s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.42s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (1.41s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.05s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.72s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.74s)
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling Partial PartiallyBuilt.swift
[6/12] Compiling Partial PartialProtocol.swift
[7/12] Compiling Partial Weak.swift
[8/12] Compiling Partial PartialConvertible.swift
[9/12] Compiling Partial Subscription.swift
[10/12] Compiling Partial Partial.swift
/host/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 |     deinit
3 | }
[11/12] Emitting module Partial
/host/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 |     deinit
3 | }
[12/12] Compiling Partial PartialBuilder.swift
Build complete! (44.60s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.