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 Repeat, reference develop (76ebc7), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 10:05:03 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/malcommac/Repeat.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/Repeat
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 76ebc72 Merge tag '0.6.0' into develop
Cloned https://github.com/malcommac/Repeat.git
Revision (git rev-parse @):
76ebc7216a7909032b7eb0badcb59c57c5315275
SUCCESS checkout https://github.com/malcommac/Repeat.git at develop
========================================
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": "repeat",
      "name": "Repeat",
      "url": "https://github.com/malcommac/Repeat.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Repeat",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/malcommac/Repeat.git
[6/548] Fetching repeat
Fetched https://github.com/malcommac/Repeat.git from cache (0.89s)
Creating working copy for https://github.com/malcommac/Repeat.git
Working copy of https://github.com/malcommac/Repeat.git resolved at develop (76ebc72)
warning: '.resolve-product-dependencies': dependency 'repeat' 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/malcommac/Repeat.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 Repeat Throttler.swift
[4/6] Compiling Repeat Debouncer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Repeat/Debouncer.swift:40:2: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
38 |
39 | 	/// Delay interval
40 | 	private (set) public var delay: Repeater.Interval
   |  `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
41 |
42 | 	/// Callback to activate
[5/6] Emitting module Repeat
/Users/admin/builder/spi-builder-workspace/Sources/Repeat/Debouncer.swift:40:2: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
38 |
39 | 	/// Delay interval
40 | 	private (set) public var delay: Repeater.Interval
   |  `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
41 |
42 | 	/// Callback to activate
[6/6] Compiling Repeat Repeater.swift
Build complete! (6.11s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Repeat",
  "name" : "Repeat",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Repeat",
      "targets" : [
        "Repeat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RepeatTests",
      "module_type" : "SwiftTarget",
      "name" : "RepeatTests",
      "path" : "Tests/RepeatTests",
      "sources" : [
        "RepeatTests.swift"
      ],
      "target_dependencies" : [
        "Repeat"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Repeat",
      "module_type" : "SwiftTarget",
      "name" : "Repeat",
      "path" : "Sources/Repeat",
      "product_memberships" : [
        "Repeat"
      ],
      "sources" : [
        "Debouncer.swift",
        "Repeater.swift",
        "Throttler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.