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 XCEOptionalAssign, reference master (d1be76), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 10:01:24 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcessentials/optionalassign.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xcessentials/optionalassign
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d1be765 Merge branch 'release/3.0.0'
Cloned https://github.com/xcessentials/optionalassign.git
Revision (git rev-parse @):
d1be765004e942eda3d4953defdd05c536c0162b
SUCCESS checkout https://github.com/xcessentials/optionalassign.git at master
Fetching https://github.com/nschum/SwiftHamcrest
[1/1567] Fetching swifthamcrest
Fetched https://github.com/nschum/SwiftHamcrest from cache (1.35s)
Computing version for https://github.com/nschum/SwiftHamcrest
Computed https://github.com/nschum/SwiftHamcrest at 2.2.1 (4.08s)
Creating working copy for https://github.com/nschum/SwiftHamcrest
Working copy of https://github.com/nschum/SwiftHamcrest resolved at 2.2.1
========================================
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": "optionalassign",
      "name": "XCEOptionalAssign",
      "url": "https://github.com/xcessentials/optionalassign.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/optionalassign",
      "dependencies": [
        {
          "identity": "swifthamcrest",
          "name": "Hamcrest",
          "url": "https://github.com/nschum/SwiftHamcrest",
          "version": "2.3.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftHamcrest",
          "dependencies": [
            {
              "identity": "swift-syntax",
              "name": "swift-syntax",
              "url": "https://github.com/swiftlang/swift-syntax.git",
              "version": "600.0.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/xcessentials/optionalassign.git
[1/80] Fetching optionalassign
Fetched https://github.com/xcessentials/optionalassign.git from cache (0.61s)
Fetching https://github.com/nschum/SwiftHamcrest from cache
Fetched https://github.com/nschum/SwiftHamcrest from cache (0.40s)
Computing version for https://github.com/nschum/SwiftHamcrest
Computed https://github.com/nschum/SwiftHamcrest at 2.3.3 (0.90s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.98s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.68s)
Creating working copy for https://github.com/nschum/SwiftHamcrest
Working copy of https://github.com/nschum/SwiftHamcrest resolved at 2.3.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/xcessentials/optionalassign.git
Working copy of https://github.com/xcessentials/optionalassign.git resolved at master (d1be765)
warning: '.resolve-product-dependencies': dependency 'optionalassign' is not used by any target
Found 1 product dependencies
  - Hamcrest
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/xcessentials/optionalassign.git
https://github.com/xcessentials/optionalassign.git
{
  "dependencies" : [
    {
      "identity" : "swifthamcrest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nschum/SwiftHamcrest"
    }
  ],
  "manifest_display_name" : "XCEOptionalAssign",
  "name" : "XCEOptionalAssign",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XCEOptionalAssign",
      "targets" : [
        "XCEOptionalAssign"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "XCEOptionalAssignAllTests",
      "module_type" : "SwiftTarget",
      "name" : "XCEOptionalAssignAllTests",
      "path" : "Tests/AllTests",
      "product_dependencies" : [
        "SwiftHamcrest"
      ],
      "sources" : [
        "AllTests.swift"
      ],
      "target_dependencies" : [
        "XCEOptionalAssign"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCEOptionalAssign",
      "module_type" : "SwiftTarget",
      "name" : "XCEOptionalAssign",
      "path" : "Sources/Core",
      "product_memberships" : [
        "XCEOptionalAssign"
      ],
      "sources" : [
        "OptionalAssign.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
[3/4] Compiling XCEOptionalAssign OptionalAssign.swift
[4/4] Emitting module XCEOptionalAssign
Build complete! (4.47s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swifthamcrest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nschum/SwiftHamcrest"
    }
  ],
  "manifest_display_name" : "XCEOptionalAssign",
  "name" : "XCEOptionalAssign",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XCEOptionalAssign",
      "targets" : [
        "XCEOptionalAssign"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "XCEOptionalAssignAllTests",
      "module_type" : "SwiftTarget",
      "name" : "XCEOptionalAssignAllTests",
      "path" : "Tests/AllTests",
      "product_dependencies" : [
        "SwiftHamcrest"
      ],
      "sources" : [
        "AllTests.swift"
      ],
      "target_dependencies" : [
        "XCEOptionalAssign"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCEOptionalAssign",
      "module_type" : "SwiftTarget",
      "name" : "XCEOptionalAssign",
      "path" : "Sources/Core",
      "product_memberships" : [
        "XCEOptionalAssign"
      ],
      "sources" : [
        "OptionalAssign.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.