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 master (3156e6), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 19:39:46 UTC.

Swift 6 data race errors: 3

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/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
========================================
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.36s)
Creating working copy for https://github.com/timdonnelly/Advance.git
Working copy of https://github.com/timdonnelly/Advance.git resolved at master (3156e6c)
warning: '.resolve-product-dependencies': dependency 'advance' 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/timdonnelly/Advance.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/15] Compiling Advance SimulationFunction.swift
[4/15] 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 |
[5/15] 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 |
[6/15] 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
[7/15] 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
[8/15] 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
[9/16] Compiling Advance UnitBezier.swift
[10/16] Compiling Advance SimulationFunction+Integration.swift
[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 SpringFunction.swift
[14/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.
[15/16] Compiling Advance TimingFunction.swift
[16/16] Compiling Advance VectorConvertible.swift
Build complete! (11.28s)
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.