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 Advance, reference 3.1.1 (065413), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 19:42:47 UTC.

Swift 6 data race errors: 3

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/timdonnelly/Advance.git
Reference: 3.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/timdonnelly/Advance
 * tag               3.1.1      -> FETCH_HEAD
HEAD is now at 0654131 Bump version, remove tests from Cocoapods
Cloned https://github.com/timdonnelly/Advance.git
Revision (git rev-parse @):
0654131d602c85c58a4c89b2f95ad1ef2894f8fd
SUCCESS checkout https://github.com/timdonnelly/Advance.git at 3.1.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": "advance",
      "name": "Advance",
      "url": "https://github.com/timdonnelly/Advance.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Advance",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/timdonnelly/Advance.git
[1/3889] Fetching advance
Fetched https://github.com/timdonnelly/Advance.git from cache (1.32s)
Creating working copy for https://github.com/timdonnelly/Advance.git
Working copy of https://github.com/timdonnelly/Advance.git resolved at 3.1.1 (0654131)
warning: '.resolve-product-dependencies': dependency 'advance' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/timdonnelly/Advance.git
https://github.com/timdonnelly/Advance.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Advance",
  "name" : "Advance",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Advance",
      "targets" : [
        "Advance"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "AdvanceTests",
      "module_type" : "SwiftTarget",
      "name" : "AdvanceTests",
      "path" : "Tests/AdvanceTests",
      "sources" : [
        "AnimationTests.swift",
        "AnimatorTests.swift",
        "DisplayLinkTests.swift",
        "SpringTests.swift",
        "TimingFunctionTests.swift",
        "UnitBezierTests.swift",
        "VectorConvenienceTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Advance"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Advance",
      "module_type" : "SwiftTarget",
      "name" : "Advance",
      "path" : "Sources/Advance",
      "product_memberships" : [
        "Advance"
      ],
      "sources" : [
        "Animator.swift",
        "DecayFunction.swift",
        "Internal/Animation.swift",
        "Internal/DisplayLink.swift",
        "Internal/Math.swift",
        "Internal/Simulation.swift",
        "Internal/SimulationFunction+Integration.swift",
        "SimulationFunction.swift",
        "Spring.swift",
        "SpringFunction.swift",
        "TimingFunction.swift",
        "UnitBezier.swift",
        "VectorConvertible.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/15] Compiling Advance SpringFunction.swift
[4/16] Compiling Advance SimulationFunction.swift
[5/16] Compiling Advance Spring.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 |     /// The current value.
20 |     private (set) var value: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 |     private (set) var velocity: Value
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 |     private (set) var value: Value
21 |
22 |     private (set) var velocity: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 |     private var elapsed: Double = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     /// Returns `true` if the solver has converged and does not currently
 31 |     /// need to be advanced on each frame.
 32 |     fileprivate (set) var hasConverged: Bool = false
    |                `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     // The current state of the solver.
[6/16] Compiling Advance Animator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     /// Returns `true` if the solver has converged and does not currently
 31 |     /// need to be advanced on each frame.
 32 |     fileprivate (set) var hasConverged: Bool = false
    |                `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     // The current state of the solver.
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 |     /// The current value.
20 |     private (set) var value: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 |     private (set) var velocity: Value
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 |     private (set) var value: Value
21 |
22 |     private (set) var velocity: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 |     private var elapsed: Double = 0.0
[7/16] Compiling Advance DecayFunction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     /// Returns `true` if the solver has converged and does not currently
 31 |     /// need to be advanced on each frame.
 32 |     fileprivate (set) var hasConverged: Bool = false
    |                `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     // The current state of the solver.
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 |     /// The current value.
20 |     private (set) var value: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 |     private (set) var velocity: Value
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 |     private (set) var value: Value
21 |
22 |     private (set) var velocity: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 |     private var elapsed: Double = 0.0
[8/16] Compiling Advance Animation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 |     /// The current value.
20 |     private (set) var value: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 |     private (set) var velocity: Value
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 |     private (set) var value: Value
21 |
22 |     private (set) var velocity: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 |     private var elapsed: Double = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:151:21: warning: capture of 'self' with non-sendable type 'DisplayLink.Driver?' in a '@Sendable' closure
117 |
118 |     /// DisplayLink is used to hook into screen refreshes.
119 |     fileprivate final class Driver {
    |                             `- note: class 'Driver' does not conform to the 'Sendable' protocol
120 |
121 |         /// The callback to call for each frame.
    :
149 |
150 |                 DispatchQueue.main.async {
151 |                     self?.handle(frame: frame)
    |                     `- warning: capture of 'self' with non-sendable type 'DisplayLink.Driver?' in a '@Sendable' closure
152 |                 }
153 |
[9/16] Compiling Advance DisplayLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 |     /// The current value.
20 |     private (set) var value: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 |     private (set) var velocity: Value
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 |     private (set) var value: Value
21 |
22 |     private (set) var velocity: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 |     private var elapsed: Double = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:151:21: warning: capture of 'self' with non-sendable type 'DisplayLink.Driver?' in a '@Sendable' closure
117 |
118 |     /// DisplayLink is used to hook into screen refreshes.
119 |     fileprivate final class Driver {
    |                             `- note: class 'Driver' does not conform to the 'Sendable' protocol
120 |
121 |         /// The callback to call for each frame.
    :
149 |
150 |                 DispatchQueue.main.async {
151 |                     self?.handle(frame: frame)
    |                     `- warning: capture of 'self' with non-sendable type 'DisplayLink.Driver?' in a '@Sendable' closure
152 |                 }
153 |
[10/16] Emitting module Advance
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     /// Returns `true` if the solver has converged and does not currently
 31 |     /// need to be advanced on each frame.
 32 |     fileprivate (set) var hasConverged: Bool = false
    |                `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     // The current state of the solver.
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
18 |
19 |     /// The current value.
20 |     private (set) var value: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 |     private (set) var velocity: Value
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:22:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
20 |     private (set) var value: Value
21 |
22 |     private (set) var velocity: Value
   |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
23 |
24 |     private var elapsed: Double = 0.0
[11/16] Compiling Advance Math.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     /// Returns `true` if the solver has converged and does not currently
 31 |     /// need to be advanced on each frame.
 32 |     fileprivate (set) var hasConverged: Bool = false
    |                `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     // The current state of the solver.
[12/16] Compiling Advance Simulation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |     /// Returns `true` if the solver has converged and does not currently
 31 |     /// need to be advanced on each frame.
 32 |     fileprivate (set) var hasConverged: Bool = false
    |                `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 33 |
 34 |     // The current state of the solver.
[13/16] Compiling Advance UnitBezier.swift
[14/16] Compiling Advance TimingFunction.swift
[15/16] Compiling Advance SimulationFunction+Integration.swift
[16/16] Compiling Advance VectorConvertible.swift
Build complete! (5.40s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Advance",
  "name" : "Advance",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Advance",
      "targets" : [
        "Advance"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "AdvanceTests",
      "module_type" : "SwiftTarget",
      "name" : "AdvanceTests",
      "path" : "Tests/AdvanceTests",
      "sources" : [
        "AnimationTests.swift",
        "AnimatorTests.swift",
        "DisplayLinkTests.swift",
        "SpringTests.swift",
        "TimingFunctionTests.swift",
        "UnitBezierTests.swift",
        "VectorConvenienceTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Advance"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Advance",
      "module_type" : "SwiftTarget",
      "name" : "Advance",
      "path" : "Sources/Advance",
      "product_memberships" : [
        "Advance"
      ],
      "sources" : [
        "Animator.swift",
        "DecayFunction.swift",
        "Internal/Animation.swift",
        "Internal/DisplayLink.swift",
        "Internal/Math.swift",
        "Internal/Simulation.swift",
        "Internal/SimulationFunction+Integration.swift",
        "SimulationFunction.swift",
        "Spring.swift",
        "SpringFunction.swift",
        "TimingFunction.swift",
        "UnitBezier.swift",
        "VectorConvertible.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.