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.0 for Linux on 26 Nov 2024 19:34:01 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/timdonnelly/Advance.git
Reference: 3.1.1
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
 * 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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/timdonnelly/Advance.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling Advance Spring.swift
/host/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
/host/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
/host/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.
[4/15] Compiling Advance SpringFunction.swift
/host/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
/host/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
/host/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.
[5/15] Compiling Advance SimulationFunction+Integration.swift
[6/15] Compiling Advance SimulationFunction.swift
[7/16] Compiling Advance TimingFunction.swift
[8/16] Compiling Advance UnitBezier.swift
[9/16] Compiling Advance Animation.swift
/host/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
/host/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
/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
[10/16] Compiling Advance DisplayLink.swift
/host/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
/host/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
/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
[11/16] Compiling Advance Math.swift
/host/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
/host/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] Emitting module Advance
/host/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.
/host/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
/host/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
[14/16] Compiling Advance Animator.swift
/host/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.
/host/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
/host/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
[15/16] Compiling Advance DecayFunction.swift
/host/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.
/host/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
/host/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 VectorConvertible.swift
Build complete! (9.84s)
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.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.