This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/timdonnelly/Advance.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/timdonnelly/Advance
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3156e6c Create swift.yml
Cloned https://github.com/timdonnelly/Advance.git
Revision (git rev-parse @):
3156e6c5ba2960de7b5a910a2c8433d7fd612c25
SUCCESS checkout https://github.com/timdonnelly/Advance.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/timdonnelly/Advance.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/15] Compiling Advance SimulationFunction.swift
[4/16] Compiling Advance SimulationFunction+Integration.swift
[5/16] Compiling Advance SpringFunction.swift
[6/16] Compiling Advance VectorConvertible.swift
[7/16] Compiling Advance Animation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:5: 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:5: 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
152 |                 }
153 |
/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
152 |                 }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:151:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |
150 |                 DispatchQueue.main.async {
151 |                     self?.handle(frame: frame)
    |                     `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |                 }
153 |
[8/16] Compiling Advance DisplayLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:5: 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:5: 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
152 |                 }
153 |
/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
152 |                 }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:151:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 |
150 |                 DispatchQueue.main.async {
151 |                     self?.handle(frame: frame)
    |                     `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |                 }
153 |
[9/16] Compiling Advance Spring.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Animation.swift:20:5: 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:5: 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:5: 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.
[10/16] Emitting module Advance
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:5: 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:5: 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:5: 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:5: 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:5: 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 Animator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:5: 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:5: 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:5: 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
[16/16] Compiling Advance DecayFunction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Advance/Internal/Simulation.swift:32:5: 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:5: 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:5: 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
Build complete! (22.17s)
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.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.