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 Spinner, reference main (9bd3af), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 05:01:27 UTC.

Swift 6 data race errors: 0

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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dominicegginton/spinner.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dominicegginton/spinner
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9bd3afd feat(workspace): provide an example
Cloned https://github.com/dominicegginton/spinner.git
Revision (git rev-parse @):
9bd3afdfd0ba75c0bd097abee7f05d31c41a0ccb
SUCCESS checkout https://github.com/dominicegginton/spinner.git at main
Fetching https://github.com/dominicegginton/Nanoseconds
Fetching https://github.com/IBM-Swift/BlueSignals.git
Fetching https://github.com/onevcat/Rainbow
[1/654] Fetching bluesignals
[28/1780] Fetching bluesignals, rainbow
[349/1981] Fetching bluesignals, rainbow, nanoseconds
Fetched https://github.com/onevcat/Rainbow from cache (0.96s)
Fetched https://github.com/dominicegginton/Nanoseconds from cache (0.96s)
Fetched https://github.com/IBM-Swift/BlueSignals.git from cache (0.96s)
Computing version for https://github.com/IBM-Swift/BlueSignals.git
Computed https://github.com/IBM-Swift/BlueSignals.git at 1.0.200 (0.59s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (2.44s)
Computing version for https://github.com/dominicegginton/Nanoseconds
Computed https://github.com/dominicegginton/Nanoseconds at 1.1.3 (0.57s)
Creating working copy for https://github.com/dominicegginton/Nanoseconds
Working copy of https://github.com/dominicegginton/Nanoseconds resolved at 1.1.3
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
Creating working copy for https://github.com/IBM-Swift/BlueSignals.git
Working copy of https://github.com/IBM-Swift/BlueSignals.git resolved at 1.0.200
========================================
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": "spinner",
      "name": "Spinner",
      "url": "https://github.com/dominicegginton/spinner.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/spinner",
      "dependencies": [
        {
          "identity": "nanoseconds",
          "name": "Nanoseconds",
          "url": "https://github.com/dominicegginton/Nanoseconds",
          "version": "1.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nanoseconds",
          "dependencies": [
          ]
        },
        {
          "identity": "rainbow",
          "name": "Rainbow",
          "url": "https://github.com/onevcat/Rainbow",
          "version": "4.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
          "dependencies": [
          ]
        },
        {
          "identity": "bluesignals",
          "name": "Signals",
          "url": "https://github.com/IBM-Swift/BlueSignals.git",
          "version": "1.0.200",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSignals",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/dominicegginton/spinner.git
[1/967] Fetching spinner
Fetched https://github.com/dominicegginton/spinner.git from cache (7.26s)
Fetching https://github.com/dominicegginton/Nanoseconds from cache
Fetching https://github.com/IBM-Swift/BlueSignals.git from cache
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/dominicegginton/Nanoseconds from cache (0.49s)
Fetched https://github.com/onevcat/Rainbow from cache (0.53s)
Fetched https://github.com/IBM-Swift/BlueSignals.git from cache (0.53s)
Computing version for https://github.com/dominicegginton/Nanoseconds
Computed https://github.com/dominicegginton/Nanoseconds at 1.1.3 (0.02s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (0.02s)
Computing version for https://github.com/IBM-Swift/BlueSignals.git
Computed https://github.com/IBM-Swift/BlueSignals.git at 1.0.200 (0.03s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
Creating working copy for https://github.com/dominicegginton/spinner.git
Working copy of https://github.com/dominicegginton/spinner.git resolved at main (9bd3afd)
Creating working copy for https://github.com/dominicegginton/Nanoseconds
Working copy of https://github.com/dominicegginton/Nanoseconds resolved at 1.1.3
Creating working copy for https://github.com/IBM-Swift/BlueSignals.git
Working copy of https://github.com/IBM-Swift/BlueSignals.git resolved at 1.0.200
warning: '.resolve-product-dependencies': dependency 'spinner' is not used by any target
Found 3 product dependencies
  - Nanoseconds
  - Rainbow
  - Signals
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dominicegginton/spinner.git
{
  "dependencies" : [
    {
      "identity" : "nanoseconds",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dominicegginton/Nanoseconds"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "bluesignals",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/BlueSignals.git"
    }
  ],
  "manifest_display_name" : "Spinner",
  "name" : "Spinner",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Spinner",
      "targets" : [
        "Spinner"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Spinner",
      "module_type" : "SwiftTarget",
      "name" : "Spinner",
      "path" : "Sources/Spinner",
      "product_dependencies" : [
        "Nanoseconds",
        "Rainbow",
        "Signals"
      ],
      "product_memberships" : [
        "Spinner",
        "Example"
      ],
      "sources" : [
        "Spinner.swift",
        "SpinnerAnimation.swift",
        "SpinnerSignal.swift",
        "SpinnerStream.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Spinner"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
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/10] Write sources
[2/10] Write Example-entitlement.plist
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/26] Compiling Rainbow StringGenerator.swift
[9/27] Compiling Rainbow Style.swift
[10/27] Compiling Rainbow String+Rainbow.swift
[11/27] Emitting module Signals
[12/27] Compiling Signals Signals.swift
[13/27] Compiling Rainbow BackgroundColor.swift
[14/27] Compiling Rainbow CodesParser.swift
[15/27] Emitting module Rainbow
[16/27] Compiling Rainbow ColorApproximation.swift
[17/27] Compiling Nanoseconds Now.swift
[18/27] Compiling Nanoseconds TimeInterval.swift
[19/27] Emitting module Nanoseconds
[20/27] Compiling Rainbow OutputTarget.swift
[21/27] Compiling Rainbow ModesExtractor.swift
[22/27] Compiling Rainbow ControlCode.swift
[23/27] Compiling Rainbow Color.swift
[24/27] Compiling Rainbow Rainbow.swift
[25/32] Compiling Spinner SpinnerStream.swift
[26/32] Compiling Spinner SpinnerSignal.swift
[27/32] Compiling Spinner Spinner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spinner/Spinner.swift:87:32: warning: capture of 'self' with non-sendable type 'Spinner?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | }
 32 |
 33 | public final class Spinner {
    |                    `- note: class 'Spinner' does not conform to the 'Sendable' protocol
 34 |     var animation: SpinnerAnimation {
 35 |         didSet {
    :
 85 |         self.timestamp = Now()
 86 |         self.queue.async { [weak self] in
 87 |             guard let `self` = self else { return }
    |                                `- warning: capture of 'self' with non-sendable type 'Spinner?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 88 |             while self.status {
 89 |                 self.render()
[28/32] Emitting module Spinner
[29/32] Compiling Spinner SpinnerAnimation.swift
[30/34] Emitting module Example
[31/34] Compiling Example main.swift
[31/34] Write Objects.LinkFileList
[32/34] Linking Example
[33/34] Applying Example
Build complete! (16.87s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "nanoseconds",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dominicegginton/Nanoseconds"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "bluesignals",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/BlueSignals.git"
    }
  ],
  "manifest_display_name" : "Spinner",
  "name" : "Spinner",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Spinner",
      "targets" : [
        "Spinner"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Spinner",
      "module_type" : "SwiftTarget",
      "name" : "Spinner",
      "path" : "Sources/Spinner",
      "product_dependencies" : [
        "Nanoseconds",
        "Rainbow",
        "Signals"
      ],
      "product_memberships" : [
        "Spinner",
        "Example"
      ],
      "sources" : [
        "Spinner.swift",
        "SpinnerAnimation.swift",
        "SpinnerSignal.swift",
        "SpinnerStream.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Spinner"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Done.