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.1 for Linux on 25 Apr 2025 08:08:18 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/timdonnelly/Advance.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/timdonnelly/Advance.git
https://github.com/timdonnelly/Advance.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Advance",
  "name" : "Advance",
  "path" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling Advance UnitBezier.swift
[4/15] Compiling Advance TimingFunction.swift
[5/15] Compiling Advance Math.swift
/host/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/15] Compiling Advance Simulation.swift
/host/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.
[7/15] Compiling Advance Animation.swift
/host/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
/host/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
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:226: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
185 |
186 |     /// DisplayLink is used to hook into screen refreshes.
187 |     fileprivate final class Driver {
    |                             `- note: class 'Driver' does not conform to the 'Sendable' protocol
188 |
189 |         private var timer: Timer? = nil
    :
224 |                         previousTimestamp: timestamp-frameDuration,
225 |                         timestamp: timestamp)
226 |                     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
227 |                 })
228 |             self.timer = timer
[8/15] Compiling Advance DisplayLink.swift
/host/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
/host/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
/host/spi-builder-workspace/Sources/Advance/Internal/DisplayLink.swift:226: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
185 |
186 |     /// DisplayLink is used to hook into screen refreshes.
187 |     fileprivate final class Driver {
    |                             `- note: class 'Driver' does not conform to the 'Sendable' protocol
188 |
189 |         private var timer: Timer? = nil
    :
224 |                         previousTimestamp: timestamp-frameDuration,
225 |                         timestamp: timestamp)
226 |                     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
227 |                 })
228 |             self.timer = timer
[9/15] Compiling Advance SimulationFunction+Integration.swift
[10/15] Compiling Advance SimulationFunction.swift
[11/15] Emitting module Advance
/host/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.
/host/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
/host/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
[12/16] Compiling Advance Animator.swift
/host/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.
/host/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
/host/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
[13/16] Compiling Advance DecayFunction.swift
/host/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.
/host/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
/host/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
[14/16] Compiling Advance Spring.swift
/host/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
/host/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
/host/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.
[15/16] Compiling Advance SpringFunction.swift
/host/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
/host/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
/host/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.
[16/16] Compiling Advance VectorConvertible.swift
Build complete! (8.58s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Advance",
  "name" : "Advance",
  "path" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.