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 Sauce, reference v2.4.1 (df657b), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 15:09:16 UTC.

Swift 6 data race errors: 1

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Clipy/Sauce.git
Reference: v2.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Clipy/Sauce
 * tag               v2.4.1     -> FETCH_HEAD
HEAD is now at df657bc Bump version to v2.4.1
Cloned https://github.com/Clipy/Sauce.git
Revision (git rev-parse @):
df657bc1beba23ffd580953f183cd756b5bcd514
SUCCESS checkout https://github.com/Clipy/Sauce.git at v2.4.1
========================================
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": "sauce",
      "name": "Sauce",
      "url": "https://github.com/Clipy/Sauce.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Sauce",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Clipy/Sauce.git
[1/872] Fetching sauce
Fetched https://github.com/Clipy/Sauce.git from cache (0.88s)
Creating working copy for https://github.com/Clipy/Sauce.git
Working copy of https://github.com/Clipy/Sauce.git resolved at v2.4.1 (df657bc)
warning: '.resolve-product-dependencies': dependency 'sauce' 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/Clipy/Sauce.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/11] Compiling Sauce TISInputSource+Property.swift
[4/11] Compiling Sauce SpecialKeyCode.swift
[5/11] Compiling Sauce NSMenuItem+Key.swift
[6/11] Compiling Sauce KeyboardLayout.swift
[7/11] Compiling Sauce InputSource.swift
[8/11] Emitting module Sauce
/Users/admin/builder/spi-builder-workspace/Lib/Sauce/Sauce.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Sauce' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | open class Sauce {
    |            `- note: class 'Sauce' does not conform to the 'Sendable' protocol
 22 |
 23 |     // MARK: - Properties
 24 |     public static let shared = Sauce()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Sauce' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |     private let layout: KeyboardLayout
[9/11] Compiling Sauce ModifierTransformer.swift
[10/11] Compiling Sauce Sauce.swift
/Users/admin/builder/spi-builder-workspace/Lib/Sauce/Sauce.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Sauce' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | open class Sauce {
    |            `- note: class 'Sauce' does not conform to the 'Sendable' protocol
 22 |
 23 |     // MARK: - Properties
 24 |     public static let shared = Sauce()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Sauce' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |     private let layout: KeyboardLayout
[11/11] Compiling Sauce Key.swift
Build complete! (15.86s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Sauce",
  "name" : "Sauce",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "Sauce",
      "targets" : [
        "Sauce"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SauceTests",
      "module_type" : "SwiftTarget",
      "name" : "SauceTests",
      "path" : "Lib/SauceTests",
      "sources" : [
        "KeyboardLayoutTests.swift",
        "NSMenuItem+KeyTests.swift"
      ],
      "target_dependencies" : [
        "Sauce"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Sauce",
      "module_type" : "SwiftTarget",
      "name" : "Sauce",
      "path" : "Lib/Sauce",
      "product_memberships" : [
        "Sauce"
      ],
      "sources" : [
        "InputSource.swift",
        "Key.swift",
        "KeyboardLayout.swift",
        "ModifierTransformer.swift",
        "NSMenuItem+Key.swift",
        "Sauce.swift",
        "SpecialKeyCode.swift",
        "TISInputSource+Property.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.