This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Clipy/Sauce.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Clipy/Sauce
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 71ff8de Bump rexml from 3.2.6 to 3.2.8 (#67)
Cloned https://github.com/Clipy/Sauce.git
Revision (git rev-parse @):
71ff8de6292653a27fa98e901e447e47041e6fad
SUCCESS checkout https://github.com/Clipy/Sauce.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Clipy/Sauce.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/11] Compiling Sauce TISInputSource+Property.swift
[4/11] Compiling Sauce SpecialKeyCode.swift
[5/11] Compiling Sauce ModifierTransformer.swift
[6/11] Compiling Sauce KeyboardLayout.swift
[7/11] Compiling Sauce NSMenuItem+Key.swift
[8/11] Compiling Sauce InputSource.swift
[9/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
[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! (25.58s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.