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 ColorSet, reference 0.0.2 (a8853e), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 15:05:56 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fromkk/colorset.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fromkk/colorset
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at a8853ed Merge pull request #1 from fromkk/feature/package
Cloned https://github.com/fromkk/colorset.git
Revision (git rev-parse @):
a8853ed187fc7068805f9c2e351da56adaec55dd
SUCCESS checkout https://github.com/fromkk/colorset.git at 0.0.2
========================================
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": "colorset",
      "name": "ColorSet",
      "url": "https://github.com/fromkk/colorset.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/colorset",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/fromkk/colorset.git
[1/73] Fetching colorset
Fetched https://github.com/fromkk/colorset.git from cache (0.86s)
Creating working copy for https://github.com/fromkk/colorset.git
Working copy of https://github.com/fromkk/colorset.git resolved at 0.0.2 (a8853ed)
warning: '.resolve-product-dependencies': dependency 'colorset' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fromkk/colorset.git
https://github.com/fromkk/colorset.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ColorSet",
  "name" : "ColorSet",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ColorSet",
      "targets" : [
        "ColorSet"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ColorSet",
      "module_type" : "SwiftTarget",
      "name" : "ColorSet",
      "path" : "Sources",
      "product_memberships" : [
        "ColorSet"
      ],
      "sources" : [
        "ColorObservable.swift",
        "ColorObservation.swift",
        "ColorObservationBag.swift",
        "ColorType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/7] Compiling ColorSet ColorObservationBag.swift
[4/7] Compiling ColorSet ColorType.swift
[5/7] Emitting module ColorSet
[6/7] Compiling ColorSet ColorObservable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ColorObservable.swift:41:17: warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
39 |             notificationCenter.addObserver(forName: didChange, object: nil, queue: .main, using: { notification in
40 |                 guard let value = notification.object as? T else { return }
41 |                 callback(value)
   |                 |- warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 |             }),
43 |             notificationCenter: notificationCenter
[7/7] Compiling ColorSet ColorObservation.swift
Build complete! (6.61s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ColorSet",
  "name" : "ColorSet",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ColorSet",
      "targets" : [
        "ColorSet"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ColorSet",
      "module_type" : "SwiftTarget",
      "name" : "ColorSet",
      "path" : "Sources",
      "product_memberships" : [
        "ColorSet"
      ],
      "sources" : [
        "ColorObservable.swift",
        "ColorObservation.swift",
        "ColorObservationBag.swift",
        "ColorType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.