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 Regex, reference v1.0.0 (bbaeb1), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 06:36:34 UTC.

Swift 6 data race errors: 0

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/sindresorhus/Regex.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sindresorhus/Regex
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at bbaeb15 Fix Unicode handling (#5)
Cloned https://github.com/sindresorhus/Regex.git
Revision (git rev-parse @):
bbaeb150734853a5a18af26d3ca050eb11238aa4
SUCCESS checkout https://github.com/sindresorhus/Regex.git at v1.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": "regex",
      "name": "Regex",
      "url": "https://github.com/sindresorhus/Regex.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Regex",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/sindresorhus/Regex.git
[1/115] Fetching regex
Fetched https://github.com/sindresorhus/Regex.git from cache (0.84s)
Creating working copy for https://github.com/sindresorhus/Regex.git
Working copy of https://github.com/sindresorhus/Regex.git resolved at v1.0.0 (bbaeb15)
warning: '.resolve-product-dependencies': dependency 'regex' 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/sindresorhus/Regex.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling Regex Utilities.swift
[4/6] Compiling Regex StringExtension.swift
[5/6] Emitting module Regex
[6/6] Compiling Regex Regex.swift
Build complete! (7.43s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Regex",
  "name" : "Regex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "Regex",
      "targets" : [
        "Regex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RegexTests",
      "module_type" : "SwiftTarget",
      "name" : "RegexTests",
      "path" : "Tests/RegexTests",
      "sources" : [
        "RegexTests.swift",
        "StringExtensionTests.swift"
      ],
      "target_dependencies" : [
        "Regex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Regex",
      "module_type" : "SwiftTarget",
      "name" : "Regex",
      "path" : "Sources/Regex",
      "product_memberships" : [
        "Regex"
      ],
      "sources" : [
        "Regex.swift",
        "StringExtension.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.